我在github上看到的afnetwoking最早的版本是0.2.1版,2011年写的,那么在此之前,人们是怎么写网络链接的代码的呢?http请求头都要自己写?有没有那时候的代码可以看一看?
ringa_lee
ASIHTTPRequest
It’s not that Apple doesn’t provide network request API. You can directly use the API provided by the system without using a third-party library. Third-party libraries are generally packaging of native APIs
You can write it directly using native interfaces. AFN and ASI are encapsulation of native interfaces
ASIHTTPRequest
It’s not that Apple doesn’t provide network request API. You can directly use the API provided by the system without using a third-party library. Third-party libraries are generally packaging of native APIs
You can write it directly using native interfaces. AFN and ASI are encapsulation of native interfaces