YQHttp 0.1.0

YQHttp 0.1.0

Maintained by yin qiong.



YQHttp 0.1.0

  • By
  • yinqiong

YQHttp

CI Status Version License Platform

Example

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

Requirements

[[YQHttp.request(request).response(response).POST sucess:^(id  _Nonnull result) {

    // 200 处理
    // 如果201 处理也可以再自定义 201 的链式
        
}] error:^(NSURLSessionDataTask * _Nullable task, NSError * _Nullable error) {
    // 错误处理
        
}];

Installation

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

pod 'YQHttp'

Author

yinqiong, [email protected]

License

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