#include <http_builder.h>
Inherited by http::Request, and http::Response.
◆ Message()
http::Message::Message |
( |
| ) |
|
|
protecteddefault |
◆ clear_headers()
void http::Message::clear_headers |
( |
| ) |
|
|
inline |
◆ get_content_data()
const uint8_t * http::Message::get_content_data |
( |
| ) |
const |
|
inline |
◆ get_content_length()
size_t http::Message::get_content_length |
( |
| ) |
const |
|
inline |
◆ get_headers()
◆ set_body() [1/3]
void http::Message::set_body |
( |
const std::string & |
s, |
|
|
bool |
overwrite_content_length = true |
|
) |
| |
|
inline |
◆ set_body() [2/3]
void http::Message::set_body |
( |
const std::vector< uint8_t > * |
b, |
|
|
bool |
overwrite_content_length = true |
|
) |
| |
|
inline |
◆ set_body() [3/3]
void http::Message::set_body |
( |
const uint8_t * |
b, |
|
|
size_t |
s, |
|
|
bool |
overwrite_content_length = true |
|
) |
| |
|
inline |
◆ set_header()
void http::Message::set_header |
( |
std::string |
k, |
|
|
const std::string & |
v |
|
) |
| |
|
inline |
◆ body
const uint8_t* http::Message::body = nullptr |
|
protected |
◆ body_size
size_t http::Message::body_size = 0 |
|
protected |
◆ headers
The documentation for this class was generated from the following file: