To run the example project, clone the repo, and run pod install
from the Example directory first.
[[YQHttp.request(request).response(response).POST sucess:^(id _Nonnull result) {
// 200 处理
// 如果201 处理也可以再自定义 201 的链式
}] error:^(NSURLSessionDataTask * _Nullable task, NSError * _Nullable error) {
// 错误处理
}];
YQHttp is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'YQHttp'
yinqiong, [email protected]
YQHttp is available under the MIT license. See the LICENSE file for more info.