Parse an HTTP headers section from a line reader.
false if LineReader hits the end of the buffer before reading an , meaning that we are still waiting on more data from the client. true after reading an entire HTTP headers section, terminated by an empty line and . Throws on an exceeded read limit and on bad headers syntax (e.g. no ":" in a line).
| Name | Description |
|---|---|
| reader [in] | A LineReader instance initialized with the client's receive buffer. |
| write [in] | Whether or not to write the parsed data to the object after validation. |