Skip to content

封装AFNetWorking tags 4.0.1 及以上的 链式网络请求库

License

Notifications You must be signed in to change notification settings

yinqiong/YQHttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

封装AFNetWorking tags 4.0.1 及以上的 链式网络请求库

Resources

License

Stars

Watchers

Forks

Packages

No packages published