public
Description: Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone
Homepage: http://allseeing-i.com/ASIHTTPRequest
Clone URL: git://github.com/pokeb/asi-http-request.git
name age message
file .gitattributes Fri Nov 07 11:58:33 -0800 2008 Try to stop git choking on xcode projects [pokeb]
file .gitignore Sat May 16 05:26:11 -0700 2009 Added up to date GHUnit to project Mac tests no... [pokeb]
file ASIFormDataRequest.h Loading commit data...
file ASIFormDataRequest.m
file ASIFormDataRequestTests.h
file ASIFormDataRequestTests.m
file ASIHTTPRequest.h
file ASIHTTPRequest.m
file ASIHTTPRequestTests.h
file ASIHTTPRequestTests.m
file ASINetworkQueue.h
file ASINetworkQueue.m
file ASINetworkQueueTests.h
file ASINetworkQueueTests.m
file AppDelegate.h
file AppDelegate.m
directory English.lproj/
file FirstViewController.h
file FirstViewController.m
file Info.plist
file LICENSE
file Mac-OS-Sample-Application.pch Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file Mac-OS-Sample-main.m
file NSHTTPCookieAdditions.h
file NSHTTPCookieAdditions.m
file QueueViewController.h Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file QueueViewController.m
file README.textile
file SynchronousViewController.h Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file SynchronousViewController.m
file Tests-Info.plist
directory asi-http-request.xcodeproj/
file iPhone Sample Application-Info.plist
file iPhone-Sample-Application.pch
file iPhone-Sample-main.m
file iPhoneSampleAppDelegate.h Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file iPhoneSampleAppDelegate.m Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file iphone-icon.png Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
directory iphone-xibs/
README.textile

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(i)
  • The ability to submit files on local drives as part of POST data, compatible with the HTML file input mechanism
  • 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 authentication support, credentials are automatically for the duration of a session, and can be stored for later in the Keychain.
  • Cookie support
  • Based on NSOperation to make queuing requests and background operation easy
  • Basic unit tests (more to come!)

Documentation is available here.