Commit graph

63 commits

Author SHA1 Message Date
Matthias Wessendorf
88b52b0f88 fixed type( resonse VS response) 2012-08-23 19:01:30 +03:00
Mattt Thompson
72a85e1ee6 Renaming numberOfCompletedOperations variable in progress block to numberOfFinishedOperations 2012-08-22 11:32:59 -07:00
Mattt Thompson
c7df7eacd5 Adding NSCoding and NSCopying conformance to AFHTTPClient 2012-08-15 10:22:07 -07:00
Steven Fisher
1d82992f36 Fixed comment
Grammar problem in comment. Minor and easy to miss.
2012-08-03 19:56:48 -07:00
Mattt Thompson
9236e41850 Fixing documentation in AFHTTPClient -deletePath:... to indicate new default of encoding parameters in query string 2012-07-23 12:15:11 -07:00
Mattt Thompson
8657907f1a Merge pull request #336 from shanev/doc_fix
fixed AFHTTPClient documentation
2012-05-22 07:49:46 -07:00
Shane Vitarana
c7a19a6e63 fixed AFHTTPClient documentation 2012-05-14 14:46:45 -07:00
Mattt Thompson
da1acf5a56 Merge branch 'master' into experimental-pause-resume
Conflicts:
	AFNetworking/AFHTTPRequestOperation.h
	AFNetworking/AFURLConnectionOperation.h
2012-04-08 15:28:58 -07:00
Mattt Thompson
407374746c Removing unnecessary ivar declaration in headers 2012-04-08 15:25:20 -07:00
Mattt Thompson
700ad2a9eb Merge branch 'master' into experimental-expanded-network-reachability 2012-03-20 15:54:37 -07:00
Mattt Thompson
c198eaf251 Adding notes in documentation about JSON libraries necessary for decoding responses in AFJSONRequestOperation and encoding requests in AFHTTPClient 2012-03-20 10:32:29 -07:00
Mattt Thompson
14227aadc7 Reverting network reachability status from bitmask to enum 2012-03-11 10:36:14 -07:00
Mattt Thompson
71d6af9e5c Renaming AFNetworkReachabilityStatus and changing to bitmask
Fixing AFReachabilityCallback to give correct WiFi reachability value

Minor formatting and refactoring
2012-03-09 15:48:59 -08:00
Kevin Harwood
346c56b8f4 Changed AFReachabilityStatus naming scheme to be more clear 2012-03-05 16:21:45 -06:00
Kevin Harwood
5b49cbbc86 Added additional Reachability information to the AFHTTPClient
As discussed by @mattt in #197, this pull request takes a stab at
exposing the Reachability state via an enum property, similar to
Reachability itself.
2012-03-05 16:01:12 -06:00
Mattt Thompson
4f31148101 Adding AFHTTPClient -patchPath: convenience method 2012-02-28 18:18:08 -08:00
Mattt Thompson
4266dc60d1 Adding notifications for network reachability changes to AFHTTPClient 2012-02-01 11:27:57 -08:00
Mattt Thompson
dfa6e97ad3 Merge branch 'feature-batched-operations' into experimental-0.9
Conflicts:
	AFNetworking/AFHTTPClient.m
2012-01-23 08:44:59 -08:00
Mattt Thompson
0c25bcee82 Merge branch 'experimental-reachability' into experimental-0.9
Conflicts:
	AFNetworking/AFHTTPClient.m
2012-01-19 17:29:44 -08:00
Mattt Thompson
1ab2eed8c8 Adding #ifdef macros to conditionally compile reachability features only when the SystemConfiguration is available 2012-01-19 17:26:12 -08:00
Mattt Thompson
735d86a79b [Issue #161] [Issue #167] Replacing AFHTTPClient -cancelHTTPOperationsWithMethod:andURL: with -cancelAllHTTPOperationsWithMethod:path 2012-01-19 16:42:12 -08:00
Mattt Thompson
71bb48fd16 Adding documentation for array formatting behavior for AFQueryStringFromParametersWithEncoding
Minor refactoring
2012-01-18 17:57:26 -08:00
Mattt Thompson
52559ccec3 Adding documentation to -setReachabilityStatusChangeBlock: 2012-01-10 13:35:41 -08:00
Mattt Thompson
c713179420 Replacing AFNetworkReachabilityStatus type with BOOL 2012-01-10 13:17:27 -08:00
Mattt Thompson
95442be7b3 Initial implementation of network reachability callbacks 2012-01-10 12:20:30 -08:00
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