1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-07-03 16:42:31 +03:00

Correct typos in comments and documentation

This commit is contained in:
per1234
2021-04-11 21:53:59 -07:00
parent 42d8a204f0
commit e9897fc568
18 changed files with 28 additions and 30 deletions

View File

@ -587,7 +587,7 @@ String HttpClient::responseBody()
}
if (bodyLength > 0 && (unsigned int)bodyLength != response.length()) {
// failure, we did not read in reponse content length bytes
// failure, we did not read in response content length bytes
return String((const char*)NULL);
}
@ -685,7 +685,7 @@ int HttpClient::read()
bool HttpClient::headerAvailable()
{
// clear the currently store header line
// clear the currently stored header line
iHeaderLine = "";
while (!endOfHeadersReached())

View File

@ -228,7 +228,7 @@ public:
*/
String readHeaderName();
/** Read the vallue of the current response header.
/** Read the value of the current response header.
Returns empty string if a header is not available.
*/
String readHeaderValue();
@ -341,7 +341,7 @@ protected:
// Number of milliseconds that we wait each time there isn't any data
// available to be read (during status code and header processing)
static const int kHttpWaitForDataDelay = 1000;
// Number of milliseconds that we'll wait in total without receiveing any
// Number of milliseconds that we'll wait in total without receiving any
// data before returning HTTP_ERROR_TIMED_OUT (during status code and header
// processing)
static const int kHttpResponseTimeout = 30*1000;