mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Documentation tidying
This commit is contained in:
@ -2,6 +2,7 @@ Version 146:
|
|||||||
|
|
||||||
* Fix some typos
|
* Fix some typos
|
||||||
* Faster ascii_tolower
|
* Faster ascii_tolower
|
||||||
|
* Documentation tidying
|
||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
|
@ -49,7 +49,8 @@ occurs this argument will be set to contain the error code.
|
|||||||
Because a serialized header is not length-prefixed, algorithms which
|
Because a serialized header is not length-prefixed, algorithms which
|
||||||
parse messages from a stream may read past the end of a message for
|
parse messages from a stream may read past the end of a message for
|
||||||
efficiency. To hold this surplus data, all stream read operations use
|
efficiency. To hold this surplus data, all stream read operations use
|
||||||
a passed-in __DynamicBuffer__ which must be persisted between calls.
|
a passed-in __DynamicBuffer__ which must be persisted between calls
|
||||||
|
until the end of stream is reached or the stream object is destroyed.
|
||||||
Each read operation may consume bytes remaining in the buffer, and
|
Each read operation may consume bytes remaining in the buffer, and
|
||||||
leave behind new bytes. In this example we declare the buffer and a
|
leave behind new bytes. In this example we declare the buffer and a
|
||||||
message variable, then read a complete HTTP request synchronously:
|
message variable, then read a complete HTTP request synchronously:
|
||||||
|
Reference in New Issue
Block a user