-
Response Serialize Json
[self startRequestWithApi:@"http://test.com/api" method:GetMethod params:@{@"param":@"testParam"} success:^(NSURLSessionDataTask * task ,id result) {} failed:^(NSURLSessionDataTask * task ,id result) {} ];
or
[self startRequestWithApi:@"http://hylapi.yuandalu.com/banner" method:GetMethod params:nil success:^(NSURLSessionDataTask * task ,id result) {} failed:^(NSURLSessionDataTask * task ,id result) {} respondMethod:AFSerializeTypeJson ];
-
Response Serialize Http
[self startRequestWithApi:@"http://test.com/api" method:GetMethod params:nil success:^(NSURLSessionDataTask * task ,id result) { NSHTTPURLResponse * response = (NSHTTPURLResponse *) task.response; } failed:^(NSURLSessionDataTask * task ,id result) { } respondMethod:AFSerializeTypeHttp ];
-
Notifications
You must be signed in to change notification settings - Fork 0
8023/LLCAFNetworkExtension
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published