mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 06:44:39 +02:00
Fix Writer exemplar in docs
This commit is contained in:
@@ -29,8 +29,8 @@ libraries:
|
|||||||
|
|
||||||
* Role-symmetric interfaces; client and server the same (or close to it).
|
* Role-symmetric interfaces; client and server the same (or close to it).
|
||||||
|
|
||||||
* Leave important decisions to the user, such as
|
* Leave important decisions such as allocating memory or
|
||||||
allocating memory or managing flow control.
|
managing flow control, to the user.
|
||||||
|
|
||||||
Beast uses the __DynamicBuffer__ concept presented in the Networking TS
|
Beast uses the __DynamicBuffer__ concept presented in the Networking TS
|
||||||
(__N4588__), and relies heavily on the Boost.Asio __ConstBufferSequence__
|
(__N4588__), and relies heavily on the Boost.Asio __ConstBufferSequence__
|
||||||
|
@@ -50,7 +50,7 @@ provides implementations of the HTTP and WebSocket protocols.
|
|||||||
[[
|
[[
|
||||||
[link beast.overview Overview]
|
[link beast.overview Overview]
|
||||||
][
|
][
|
||||||
An introduction wsth features, requirements, and credits.
|
An introduction with features, requirements, and credits.
|
||||||
]]
|
]]
|
||||||
[[
|
[[
|
||||||
[link beast.http Using HTTP]
|
[link beast.http Using HTTP]
|
||||||
|
@@ -30,7 +30,7 @@ In this table:
|
|||||||
[`a.complete()`]
|
[`a.complete()`]
|
||||||
[`bool`]
|
[`bool`]
|
||||||
[
|
[
|
||||||
Returns `true` when the parser is complete.
|
Returns `true` when parsing is complete.
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
|
@@ -128,8 +128,8 @@ public:
|
|||||||
use chunk-encoding or terminate the connection to indicate the end
|
use chunk-encoding or terminate the connection to indicate the end
|
||||||
of the message.
|
of the message.
|
||||||
*/
|
*/
|
||||||
std::size_t
|
std::uint64_t
|
||||||
content_length() const;
|
content_length();
|
||||||
|
|
||||||
/** Write zero or one buffer representing the message body.
|
/** Write zero or one buffer representing the message body.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user