ios - 在没有afn等第三方库之前,人们是怎么写网络链接的代码的?
ringa_lee
ringa_lee 2017-04-18 09:45:55
0
3
464

我在github上看到的afnetwoking最早的版本是0.2.1版,2011年写的,
那么在此之前,人们是怎么写网络链接的代码的呢?
http请求头都要自己写?
有没有那时候的代码可以看一看?

ringa_lee
ringa_lee

ringa_lee

reply all(3)
左手右手慢动作

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

Ty80

You can write it directly using native interfaces. AFN and ASI are encapsulation of native interfaces

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!