1
0

HTTP: Fixed response parser, unified API.

This commit is contained in:
Mattes D
2016-02-04 17:44:10 +01:00
parent 52c5ce6598
commit 12d95ab047
6 changed files with 35 additions and 22 deletions

View File

@@ -25,8 +25,8 @@ public:
cHTTPRequestParser(void);
/** Parses the request line and then headers from the received data.
Returns the number of bytes consumed or AString::npos number for error
*/
Returns the number of bytes consumed or AString::npos number for error.
Once it has fully parsed all the headers, doesn't consume any more data. */
size_t ParseHeaders(const char * a_Data, size_t a_Size);
/** Returns true if the request did contain a Content-Length header */