TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jun 2016 |
Maintained by Unclaimed.
Based on AFNetwoking, the network request framework using the chain programming idea.
If you use CocoaPods
Else
[[WZXNetworkManager manager].setRequest(@"http://192.168.1.40:8001")
.RequestType(POST).HTTPHeader(nil).Parameters(nil)
.RequestSerialize(RequestSerializerHTTP).ResponseSerialize(ResponseSerializerJSON).FormData(formData) startRequestWithProgress:^(NSProgress *progress) {
NSLog(@"%f",progress.fractionCompleted);
} success:^(id response) {
NSLog(@"success");
} failure:^{
NSLog(@"failure");
}];
If you have suggestions to welcome email to [email protected].