Latest 0.0.4
Homepage https://github.com/seraphjiang/JHHttpClient
License MIT
Platforms ios 8.0
Dependencies Alamofire, EVReflection, AlamofireJsonToObjects
Authors

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, [email protected]

License

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

Latest podspec

{
    "name": "JHHttpClient",
    "version": "0.0.4",
    "summary": "A swift HttpClient lib.",
    "description": "A swift HttpClient lib. on top of Alamofire, EVReflection",
    "homepage": "https://github.com/seraphjiang/JHHttpClient",
    "license": "MIT",
    "authors": {
        "jianghuan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/seraphjiang/JHHttpClient.git",
        "tag": "0.0.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "JHHttpClient/Classes/**/*",
    "dependencies": {
        "Alamofire": [],
        "EVReflection": [],
        "AlamofireJsonToObjects": []
    }
}

Pin It on Pinterest

Share This