开发者

What is ASIHTTPRequest?

开发者 https://www.devze.com 2023-02-15 13:29 出处:网络
What is ASIHTTPRequest? how do we use it in an iphone appl开发者_JS百科ication? what are the files we need to include? Does Apple provide files for this? Read the ASIHTTP from here you will be able to

What is ASIHTTPRequest? how do we use it in an iphone appl开发者_JS百科ication? what are the files we need to include? Does Apple provide files for this?


Read the ASIHTTP from here you will be able to know what is it and how to use it....it is use to get the request from the server and post request to server

Good Luck!


What is ASIHTTPRequest?

ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.

—— from https://allseeing-i.com/ASIHTTPRequest/


A (BSD licensed) wrapper to facilitate the use of CFNetwork. Commonly, it is used to deal with HTTP requests.

The documentation explains how to use it. As ASIHTTPRequest is not an Apple product, Apple doesn't provide files for this.

This is what the ASIHTTPRequest documentation page says.

ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.

   

 

It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). The included ASIFormDataRequest subclass makes it easy to submit POST data and files using multipart/form-data.


Also, ASIHTTPRequest page says Please note that I am no longer working on this library - you may want to consider using something else for new projects. :)

RestKit might be an alternative.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号