[ios] Fix typo
s/Reponse/Response
This commit is contained in:
@@ -46,7 +46,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
/**
|
||||
* Builds a response given a message data as returned by `curl -is [url]`, that is containing both the headers and the body.
|
||||
*
|
||||
* This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
|
||||
* This method will split the headers and the body and build a OHHTTPStubsResponse accordingly
|
||||
*
|
||||
* @param responseData The NSData containing the whole HTTP response, including the headers and the body
|
||||
*
|
||||
@@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* Builds a response given the name of a `"*.response"` file containing both the headers and the body.
|
||||
*
|
||||
* The response file is expected to be in the specified bundle (or the application bundle if nil).
|
||||
* This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
|
||||
* This method will split the headers and the body and build a OHHTTPStubsResponse accordingly
|
||||
*
|
||||
* @param responseName The name of the `"*.response"` file (without extension) containing the whole
|
||||
* HTTP response (including the headers and the body)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
/**
|
||||
* Builds a response given a message data as returned by `curl -is [url]`, that is containing both the headers and the body.
|
||||
*
|
||||
* This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
|
||||
* This method will split the headers and the body and build a OHHTTPStubsResponse accordingly
|
||||
*
|
||||
* @param responseData The NSData containing the whole HTTP response, including the headers and the body
|
||||
*
|
||||
@@ -41,7 +41,7 @@
|
||||
* Builds a response given the name of a `"*.response"` file containing both the headers and the body.
|
||||
*
|
||||
* The response file is expected to be in the specified bundle (or the application bundle if nil).
|
||||
* This method will split the headers and the body and build a OHHTTPStubsReponse accordingly
|
||||
* This method will split the headers and the body and build a OHHTTPStubsResponse accordingly
|
||||
*
|
||||
* @param responseName The name of the `"*.response"` file (without extension) containing the whole
|
||||
* HTTP response (including the headers and the body)
|
||||
|
||||
@@ -160,7 +160,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* Set the `responseTime` of the `OHHTTPStubsResponse` and return `self`. Useful for chaining method calls.
|
||||
*
|
||||
* _Usage example:_
|
||||
* <pre>return [[OHHTTPStubsReponse responseWithData:data statusCode:200 headers:nil] responseTime:5.0];</pre>
|
||||
* <pre>return [[OHHTTPStubsResponse responseWithData:data statusCode:200 headers:nil] responseTime:5.0];</pre>
|
||||
*
|
||||
* @param responseTime If positive, the amount of time used to send the entire response.
|
||||
* If negative, the rate in KB/s at which to send the response data.
|
||||
@@ -177,7 +177,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* Useful for chaining method calls.
|
||||
*
|
||||
* _Usage example:_
|
||||
* <pre>return [[OHHTTPStubsReponse responseWithData:data statusCode:200 headers:nil]
|
||||
* <pre>return [[OHHTTPStubsResponse responseWithData:data statusCode:200 headers:nil]
|
||||
* requestTime:1.0 responseTime:5.0];</pre>
|
||||
*
|
||||
* @param requestTime The time to wait before the response begins to send. This value must be greater than or equal to zero.
|
||||
|
||||
Reference in New Issue
Block a user