From fbdedc337dad8eaa59a1fd6e60ebbab17f841c20 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 24 Aug 2016 18:26:23 +0300 Subject: [PATCH] Fix typo --- .../Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h | 4 ++-- OHHTTPStubs/Sources/OHHTTPStubsResponse.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h b/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h index 2b94db92..98a6a9df 100644 --- a/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h +++ b/OHHTTPStubs/Sources/HTTPMessage/OHHTTPStubsResponse+HTTPMessage.h @@ -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) diff --git a/OHHTTPStubs/Sources/OHHTTPStubsResponse.h b/OHHTTPStubs/Sources/OHHTTPStubsResponse.h index 048b38e6..f9995fcd 100644 --- a/OHHTTPStubs/Sources/OHHTTPStubsResponse.h +++ b/OHHTTPStubs/Sources/OHHTTPStubsResponse.h @@ -177,7 +177,7 @@ NS_ASSUME_NONNULL_BEGIN * Set the `responseTime` of the `OHHTTPStubsResponse` and return `self`. Useful for chaining method calls. * * _Usage example:_ - *
return [[OHHTTPStubsReponse responseWithData:data statusCode:200 headers:nil] responseTime:5.0];
+ *
return [[OHHTTPStubsResponse responseWithData:data statusCode:200 headers:nil] responseTime:5.0];
* * @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. @@ -194,7 +194,7 @@ NS_ASSUME_NONNULL_BEGIN * Useful for chaining method calls. * * _Usage example:_ - *
return [[OHHTTPStubsReponse responseWithData:data statusCode:200 headers:nil]
+ *  
return [[OHHTTPStubsResponse responseWithData:data statusCode:200 headers:nil]
  *            requestTime:1.0 responseTime:5.0];
* * @param requestTime The time to wait before the response begins to send. This value must be greater than or equal to zero.