- 授权协议: 未知
- 开发语言: Swift
- 操作系统: OS X
- 软件首页: https://github.com/aerogear/aerogear-ios-http
软件介绍
aerogear-ios-http 是完全使用 Swift 编写的,是用来帮助你管理 NSURLSession http 请求的 thin layer:
Json 序列化
多部分上传
HTTP 基础/数字 验证支持
可插拔对象序列化
示例:
let http = Http(baseURL: "http://server.com")
http.GET("/get", completionHandler: {(response, error) in
// handle response
})
http.POST("/post", parameters: ["key": "value"], completionHandler: {(response, error) in
// handle response
})
...
