初始化项目实用工具,可缓存网络请求
To run the example project, clone the repo, and run pod install
from the Example directory first.
LeexTools is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LeexTools'
无缓存请求
- (__kindof NSURLSessionTask *)GET:(NSString *)URL parameters:(id)parameters headers:(id)headers success:(LXHttpRequestSuccess)success failure:(LXHttpRequestFailed)failure;
缓存请求
- (__kindof NSURLSessionTask *)GET:(NSString *)URL parameters:(id)parameters headers:(id)headers responseCache:(LXHttpRequestCache)responseCache success:(LXHttpRequestSuccess)success failure:(LXHttpRequestFailed)failure;
leex, [email protected]
感谢支持 BTC:3DUGBKHbNn7RhEkeFZvLYCd2ijXKncGhMJ ETH:0x71436d6e4F5EA69dCe337D51aF9fB159EFCCF84B