YQHttp 0.1.0

YQHttp 0.1.0

yin qiong 维护。



YQHttp 0.1.0

  • yinqiong

YQHttp

CI Status Version License Platform

示例

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

要求

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

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

安装

YQHttp 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中

pod 'YQHttp'

作者

yinqiong, [email protected]

许可证

YQHttp 在MIT许可证下可用。更多信息请参阅LICENSE文件。