Commit graph

88 commits

Author SHA1 Message Date
Michael Parker
87b852700a Fix up documentation for requestWithMethod:path:parameters:.
It is not responsible for finding the registered subclass that can handle a request; instead, it simply builds the request. HTTPRequestOperationWithRequest:success:failure: is responsible for this.
2012-01-05 20:47:59 -08:00
Mattt Thompson
2f2ee796ed Initial implementation of batched request operations 2011-12-17 23:49:51 -06:00
Mattt Thompson
bb7b48e14e Adding section about execution time and memory constraints of multipart form data construction 2011-12-13 09:55:37 -06:00
Mattt Thompson
ba29765ca9 Fixing formatting for URL construction example code in AFHTTPClient 2011-11-14 14:24:21 -06:00
Mattt Thompson
dcf1f8e1e4 Minor documentation fixes 2011-11-11 11:35:07 -06:00
Mattt Thompson
58693e8d8c Updating and revising documentation 2011-11-11 11:28:05 -06:00
Mattt Thompson
648c650ae7 Changing return type of appendPartWithFileURL:name:error: to BOOL, according to Apple guidelines for methods that accept an NSError** parameter (Thanks, Zac Bowling)
Fixing issue with potential NULL dereference in setting error pointer
2011-11-10 11:56:58 -06:00
Mattt Thompson
67a45388a6 Updating documentation for AFHTTPClient -HTTPRequestOperationWithRequest:success:failure: 2011-11-10 11:03:02 -06:00
Mattt Thompson
7658058083 Fixed @see method reference in AFHTTPClient documentation for get/post/put/delete methods 2011-11-10 10:26:58 -06:00
Mattt Thompson
d50652132f Fixing documentation for appendPartWithFileURL:name:error: 2011-11-09 12:05:53 -06:00
Mattt Thompson
b7d06b1fb7 Exposing AFURLEncodedStringFromStringWithEncoding and AFQueryStringFromParametersWithEncoding functions 2011-11-09 11:43:02 -06:00
Mattt Thompson
e08f236146 Reverting to NSURL +URLWithString:relativeToURL for building urls from paths
Documenting interactions of relative path parameters with baseURL
2011-11-09 10:51:33 -06:00
Mattt Thompson
9a91afe3e2 [Issue #98] Adding AFHTTPClient -appendPartWithFileURL:name:error:
Changing -appendPartWithFileData:mimeType:name: to -appendPartWithFileData:name:fileName:mimeType:
2011-11-07 12:16:42 -06:00
Mattt Thompson
afbd799e3b Replacing AFHTTPClient -enqueueHTTPRequestOperationWithRequest:... with -HTTPRequestOperationWithRequest:..., thereby decoupling the automatic HTTP operation creation from enqueuing them 2011-11-07 11:43:19 -06:00
Mattt Thompson
30ea7353d4 Refactoring success and failure callbacks for HTTP request operations and client, to add more information and make everything more consistent
Removing AFHTTPClient protocol
2011-10-24 13:08:58 -05:00
Mattt Thompson
8da80668f4 Fixing formatting of AFHTTPClient documentation 2011-10-12 11:46:56 -05:00
Mattt Thompson
207b914545 Improving documentation of AFHTTPClient, especially concerning its automatic content parsing behavior 2011-10-12 11:07:01 -05:00
Mattt Thompson
b8ca3496f8 Adding -unregisterHTTPOperationClass to AFHTTPClient
Removing 'Accept: applciation/json' default header from AFHTTPClient

Revising documentation for AFHTTPClient
2011-10-12 10:41:59 -05:00
Mattt Thompson
49d5c65687 Documentation for AFHTTPClient and AFHTTPClientOperation protocol 2011-10-11 16:47:59 -05:00
Mattt Thompson
53d61e7eb2 Adding pre-processor directives to conditionally compile Mac equivalent of UIKit-dependent APIs 2011-10-11 10:39:41 -05:00
Mattt Thompson
b28b99dd16 Moving AFHTTPClientOperation protocol to AFHTTPClient
Refactoring #import statements
2011-10-10 10:51:23 -05:00
Mattt Thompson
6f20f84ef1 Adding AFHTTPClientParameterEncoding @property to AFHTTPClient, which determines the method of encoding an NSDictionary of parameters for the body of an HTTP request
Minor refactoring of AFRestClient
2011-10-06 14:33:16 -05:00
Mattt Thompson
c2be31d4fa First implementation of protocol for AFHTTPClient to register classes to automatically determine the appropriate operation to create
Wrapping AFURLConnectionOperation -setCompletionBlock: with blockSelf release pattern to avoid retain cycle
2011-10-05 15:44:51 -05:00
Mattt Thompson
ccdc5f2d9b Approaching a reasonable design for restructuring AFHTTPRequestOperation and subclasses 2011-10-05 12:36:45 -05:00
Mattt Thompson
97d4d179df Adding missing backtick for class documentation 2011-09-26 16:07:59 -05:00
Mattt Thompson
eda2d1a3f5 Expanding AFJSONRequestOperation and AFHTTPClient failure blocks to include the NSHTTPURLResponse object 2011-09-26 14:46:46 -05:00
Mattt Thompson
424f6de299 Adding documentation to AFHTTPClient 2011-09-26 12:51:20 -05:00
Mattt Thompson
945e196d1f Renaming AFMultipartFormDataProxy to AFMultipartFormData, in order to eliminate any confusion about it relating to a web proxy
Removing NSObject protocol from AFMultipartFormData protocol, since that's one of the points of abstracting away the interface

Refactoring mutlipart form appending methods to eliminate overlap, and be more useful in general

Updating documentation
2011-09-26 11:50:13 -05:00
Mattt Thompson
f4f295fb32 Removing extra semicolons 2011-09-26 11:06:56 -05:00
Tyler Richey
4f070b2924 file data upload fix 2011-09-24 21:53:46 -04:00
Tyler Richey
cf0f82a74d Merge remote-tracking branch 'upstream/experimental-multipart-form-fix' 2011-09-24 21:52:25 -04:00
Aaron Brethorst
43a94590a8 Fix two typos. 2011-09-23 11:31:27 -07:00
Mattt Thompson
b621ad0848 Changing multipart form data object to be subclass of NSMutableData
Adding mimetype arguments to some multipart methods
2011-09-23 10:21:07 -05:00
Mattt Thompson
d407561ff6 Fixing parameter for AFHTTPClient -appendPartWithFile:fileName: 2011-09-22 12:21:09 -05:00
Mattt Thompson
7a2cad0a56 Minor revisions to documentation, mostly around style and conventions 2011-09-22 11:31:01 -05:00
Mattt Thompson
2dd68212c0 Adding +clientWithBaseURL:
Noting that initWithBaseURL: is the designated initializer
2011-09-22 09:43:58 -05:00
Mattt Thompson
e21a7b5aa1 Updating and completing documentation for AFHTTPClient 2011-09-21 23:16:35 -05:00
Mattt Thompson
ebb6eb21ad You know what's an even _better name? AFHTTPClient. Boom. 2011-09-21 22:42:01 -05:00
Renamed from AFNetworking/AFRESTClient.h (Browse further)