![IOS网络编程。。 IOS网络编程。。](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
ASI 与AFN框架; 越低层性能越好。
AFNetworking
ASIHTTPRequest(性能好点)
NSURL会更好。
NSURL
NSURLRequest
NSData * data = [NSURLConnection sendSynchchronousRequest:request; returningresponse;
//同步请求。
[NSURLConnection sendAsynchronousRequest:<#(NSURLRequest *)#> queue:<#(NSOperationQueue *)#> completionHandler:<#^(NSURLResponse *response, NSData *data, NSError *connectionError)handler#>]