Adding new documentation header for AFHTTPClient +canProcessRequest

This commit is contained in:
Mattt Thompson 2012-03-02 10:49:13 -08:00
parent eb7d9bef95
commit 01572eed3d

View file

@ -98,6 +98,11 @@
*/ */
+ (void)addAcceptableContentTypes:(NSSet *)contentTypes; + (void)addAcceptableContentTypes:(NSSet *)contentTypes;
///-----------------------------------------------------
/// @name Determining Whether A Request Can Be Processed
///-----------------------------------------------------
/** /**
A Boolean value determining whether or not the class can process the specified request. For example, `AFJSONRequestOperation` may check to make sure the content type was `application/json` or the URL path extension was `.json`. A Boolean value determining whether or not the class can process the specified request. For example, `AFJSONRequestOperation` may check to make sure the content type was `application/json` or the URL path extension was `.json`.