...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The type of object holding HTTP Upgrade requests.
Defined in header <boost/beast/websocket/rfc6455.hpp>
using request_type = http::request< http::empty_body >;
Name |
Description |
---|---|
The algorithm for parsing the body. |
|
The type of container used for the body. |
|
The algorithm for serializing the body. |
Name |
Description |
---|---|
Returns the payload size of the body. |
This body is used to represent messages which do not have a message body.
If this body is used with a parser, and the parser encounters octets corresponding
to a message body, the parser will fail with the error
http::unexpected_body
.
The Content-Length of this body is always 0.