Skip to content

Commit

Permalink
Merge pull request #198 from tmpsantos/fix_typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
AliSoftware authored Aug 26, 2016
2 parents deed01a + fbdedc3 commit 472d351
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions OHHTTPStubs/Sources/OHHTTPStubsResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,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.
Expand All @@ -194,7 +194,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.
Expand Down

0 comments on commit 472d351

Please sign in to comment.