Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding documentation for AFHTTPRequestOperation +addAcceptableStatusC…

…odes / +addAcceptableContentTypes
  • Loading branch information...
commit eb7d9bef950b1dbc985b5ede052af6ceb29abe7b 1 parent 5b7a2cb
@mattt mattt authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 AFNetworking/AFHTTPRequestOperation.h
View
7 AFNetworking/AFHTTPRequestOperation.h
@@ -42,7 +42,6 @@
*/
@property (readonly, nonatomic, retain) NSHTTPURLResponse *response;
-
///----------------------------------------------------------
/// @name Managing And Checking For Acceptable HTTP Responses
///----------------------------------------------------------
@@ -79,7 +78,9 @@
+ (NSIndexSet *)acceptableStatusCodes;
/**
+ Adds status codes to the set of acceptable HTTP status codes returned by `+acceptableStatusCodes` in subsequent calls by this class and its descendents.
+ @param statusCodes The status codes to be added to the set of acceptable HTTP status codes
*/
+ (void)addAcceptableStatusCodes:(NSIndexSet *)statusCodes;
@@ -91,7 +92,9 @@
+ (NSSet *)acceptableContentTypes;
/**
-
+ Adds content types to the set of acceptable MIME types returned by `+acceptableContentTypes` in subsequent calls by this class and its descendents.
+
+ @param contentTypes The content types to be added to the set of acceptable MIME types
*/
+ (void)addAcceptableContentTypes:(NSSet *)contentTypes;
Please sign in to comment.
Something went wrong with that request. Please try again.