Skip to content

seraphjiang/JHHttpClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JHHttpClient

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

JHHttpClient is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "JHHttpClient"

Instruction

Please add entry to your project's info.plist, App Transport Security Settings to enable http://

JHHttpClient.invoke(self.api.text!) { (response, error) in
    print(response)
    if let jsonResult = response as? Dictionary<String, AnyObject> {
        print(jsonResult)
        print("-----")
        print(jsonResult.description)
        let str = jsonResult.description
        self.response.text = str
    }
}

Author

jianghuan, seraphjiang@gmail.com

License

JHHttpClient is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published