SCNetworkAgent 0.1.14

SCNetworkAgent 0.1.14

Maintained by Matt Reach.



  • By
  • MattReach

SCNetworkAgent

CI Status Version License Platform

SCNetworkAgent module is a cocoa network abstract layer, business module needn't care the owner network implementation.

The owner must implement SCNetworkAgent's methods by registration before business module send request!

├── Agent    网络请求发起类;跟网络实现耦合的类
├── BaseApi  提供基础网络请求
├── DownloadApi 文件下载专用类
├── PostApi     支持带 body 体的请求
├── ResponseParser 响应解析器,检查响应,解析成 JSON,Model等
└── UploadApi   文件上传专用类

Installation

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

pod 'SCNetworkAgent'

Author

MattReach, [email protected]

License

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