Showing
1 changed file
with
9 additions
and
7 deletions
| 1 | +[NEW!] Documentation is available at: http://allseeing-i.com/asi-http-request | ||
| 2 | + | ||
| 1 | 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. | 3 | 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. |
| 2 | 4 | ||
| 3 | It is suitable for when you want to submit data to an existing web form, or don't want to mess around with SOAP or XML-RPC. | 5 | It is suitable for when you want to submit data to an existing web form, or don't want to mess around with SOAP or XML-RPC. |
| 4 | 6 | ||
| 5 | It provides: | 7 | It provides: |
| 6 | 8 | ||
| 7 | -* Ability for setting up progress delegates (e.g. NSProgressIndicators) to show information about download AND upload progress | 9 | +* A straightforward interface for submitting data to (GET & POST) and fetching data from webservers |
| 8 | 10 | ||
| 9 | -* An easy interface for adding POST data to requests | 11 | +* The ability to submit files on local drives as part of POST data, compatible with the HTML file input mechanism |
| 10 | 12 | ||
| 11 | -* The ability to submit files on local drives as part of POST data, analogous to the HTML file input mechanism | 13 | +* Easy access to request and response HTTP headers |
| 12 | 14 | ||
| 13 | -* Basic authentication (username and password) support | 15 | +* Ability for setting up progress delegates (e.g. NSProgressIndicators) to show information about download AND upload progress |
| 14 | 16 | ||
| 15 | -* Integrated Keychain support | 17 | +* Basic authentication (username and password) support, credentials are automatically for the duration of a session, and can be stored for later in the Keychain. |
| 16 | 18 | ||
| 17 | * Based on NSOperation to make queuing requests and background operation easy | 19 | * Based on NSOperation to make queuing requests and background operation easy |
| 18 | 20 | ||
| 21 | +* Basic unit tests (more to come!) | ||
| 19 | 22 | ||
| 20 | ASIHTTPRequest comes as part of a simple application that demonstrates many of the features above, just look at AppDelegate.m for good pointers on basic usage, or read the comments in ASIHTTPRequest.h for more detail. | 23 | ASIHTTPRequest comes as part of a simple application that demonstrates many of the features above, just look at AppDelegate.m for good pointers on basic usage, or read the comments in ASIHTTPRequest.h for more detail. |
| 21 | 24 | ||
| 22 | ASIHTTPRequest is partly based on code from Apple's ImageClient code samples, so if it doesn't meet your needs, take a look at their CFNetwork examples for more. | 25 | ASIHTTPRequest is partly based on code from Apple's ImageClient code samples, so if it doesn't meet your needs, take a look at their CFNetwork examples for more. |
| 26 | + | ||
| 23 | ASIHTTPRequest is my first open source Objective-C code. I hope to expand the class and example application further (unit tests, maybe even iphone examples...) in the coming months. If you find it helpful, please do get in touch! | 27 | ASIHTTPRequest is my first open source Objective-C code. I hope to expand the class and example application further (unit tests, maybe even iphone examples...) in the coming months. If you find it helpful, please do get in touch! |
| 24 | 28 | ||
| 25 | -See also: | ||
| 26 | -http://allseeing-i.com/ASIHTTPRequest-CFNetwork-wrapper-for-HTTP-requests |
-
Please register or login to post a comment