boost::http_proto::message_base
Provides message metadata for requests and responses
Synopsis
Declared in header <boost/http_proto/message_base.hpp>
class message_base
: public fields_base
, public message_view_base;
Types
Name |
Description |
A signed integer type |
|
A signed integer type |
|
A field |
|
A field |
|
An unsigned integer type |
|
An unsigned integer type |
|
A type which can represent a field as a value |
|
A type which can represent a field as a value |
Member Functions
Name |
Description |
Append a header |
|
Return an iterator to the beginning |
|
Return a string representing the serialized data |
|
Returns the total number of bytes allocated by the container |
|
Return true if the message is using a chunked transfer encoding. |
|
Clear the contents, but not the capacity |
|
Return the number of matching fields |
|
Return an iterator to the end |
|
Erase all matching fields Erase headers |
|
Return true if a field exists |
|
Returns an iterator to the matching element if it exists |
|
Return a forward range containing values for all matching fields |
|
Returns an iterator to the matching element if it exists |
|
Insert a header |
|
Return true if semantics indicate connection persistence |
|
Returns the largest permissible capacity in bytes |
|
Return metadata about the message |
|
Return the type of payload of this message |
|
Return the payload size |
|
Return a reverse iterator to the beginning |
|
Return a reverse iterator to the end |
|
Reserve a minimum capacity |
|
Set a header value |
|
Set whether the payload is chunked. |
|
Set the Content-Length to the specified value |
|
Set whether the connection should stay open. |
|
Set the payload size |
|
Remove excess capacity |
|
Returns the number of fields in the container |
|
Return the value of a field |