pokeb/asi-http-request


Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone

http://allseeing-i.com/ASIHTTPRequest

License: Other

Language: Objective-C


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.

It provides:

  • A straightforward interface for submitting data to and fetching data from webservers
  • Download data to memory or directly to a file on disk
  • Submit files on local drives as part of POST data, compatible with the HTML file input mechanism
  • Stream request bodies directly from disk to the server, to conserve memory
  • Resume for partial downloads
  • Easy access to request and response HTTP headers
  • Progress delegates (NSProgressIndicators and UIProgressViews) to show information about download AND upload progress
  • Auto-magic management of upload and download progress indicators for operation queues
  • Basic, Digest + NTLM authentication support, credentials are automatically re-used for the duration of a session, and can be stored for later in the Keychain.
  • Cookie support
  • [NEW] Requests can continue to run when your app moves to the background (iOS 4+)
  • GZIP support for response data AND request bodies
  • The included ASIDownloadCache class lets requests transparently cache responses, and allow requests for cached data to succeed even when there is no network available
  • [NEW] ASIWebPageRequest – download complete webpages, including external resources like images and stylesheets. Pages of any size can be indefinitely cached, and displayed in a UIWebview / WebView even when you have no network connection.
  • Easy to use support for Amazon S3 – no need to fiddle around signing requests yourself!
  • Full support for Rackspace Cloud Files
  • [NEW] Client certificates support
  • Supports manual and auto-detected proxies, authenticating proxies, and PAC file auto-configuration. The built-in login dialog lets your iPhone application work transparently with authenticating proxies without any additional effort.
  • Bandwidth throttling support
  • Support for persistent connections
  • Supports synchronous & asynchronous requests
  • Get notifications about changes in your request state via delegation or [NEW] blocks (Mac OS X 10.6, iOS 4 and above)
  • Comes with a broad range of unit tests

ASIHTTPRequest is compatible with Mac OS 10.5 or later, and iOS 3.0 or later.

Documentation is available here.

Project Statistics

Sourcerank 13
Repository Size 6.83 MB
Stars 5,804
Forks 1,501
Watchers 288
Open issues 167
Dependencies 0
Contributors 50
Tags 64
Created
Last updated
Last pushed

Top Contributors See all

Ben Copsey Joseph Heenan Cédric Luthi Michael Mayo nanotech erik chen Roman Buussyghin Lolsborn ika Jardel Weyrich Philipp Schmid Andy Fowler Aidan Steele Ari Weinstein tomandersen Peter Steinberger Cédric Deltheil Adam Wulf Arlo Borras James Abley

Packages Referencing this Repo

ASIHTTPRequest
Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone.
Latest release 1.8.2 - Updated - 5.8K stars

Recent Tags See all

v1.8.2 March 12, 2014
v1.8.1 May 28, 2011
v1.8 November 13, 2010
v1.7 June 26, 2010
v1.6.2 April 15, 2010
v1.6.1 March 24, 2010
v1.6 March 02, 2010
v1.5 January 06, 2010
v1.2 October 31, 2009
v1.1.1 October 06, 2009
v1.1 October 04, 2009
v1.0.9 September 13, 2009
v1.0.8 August 24, 2009
v1.0.7 August 11, 2009
v1.0.6 August 02, 2009

Interesting Forks See all

OpenFibers/asi-http-request
Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone
Objective-C - Other - Last pushed - 106 stars - 37 forks
appcelerator/titanium-asi-http-request
Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone
Objective-C - Other - Last pushed - 15 stars - 4 forks
foursquare/asi-http-request
Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone
Objective-C - Other - Last pushed - 10 stars - 1 forks
SinaCloudStorage/asi-scs
Branch of ASIHTTPRequest for Sina Cloud Storage Service
Objective-C - Other - Last pushed - 9 stars - 2 forks
jayway/ASIHTTPRequest
Fork that splits project into static library and sample app.
Objective-C - Other - Last pushed - 6 stars - 3 forks

Something wrong with this page? Make a suggestion

Last synced: 2016-11-24 15:55:46 UTC

Login to resync this repository