#include <http_builder.h>
Inherits http::Message.
◆ Request()
http::Request::Request |
( |
const std::string_view & |
p = "/" , |
|
|
llhttp_method |
m = HTTP_POST |
|
) |
| |
|
inline |
◆ build_request()
std::vector< uint8_t > http::Request::build_request |
( |
bool |
header_only = false | ) |
const |
|
inline |
◆ get_formatted_query()
std::string http::Request::get_formatted_query |
( |
| ) |
const |
|
inline |
◆ get_method()
llhttp_method http::Request::get_method |
( |
| ) |
const |
|
inline |
◆ get_path()
std::string http::Request::get_path |
( |
| ) |
const |
|
inline |
◆ set_method()
void http::Request::set_method |
( |
llhttp_method |
m | ) |
|
|
inline |
◆ set_path()
void http::Request::set_path |
( |
const std::string_view & |
p | ) |
|
|
inline |
◆ set_query_param()
void http::Request::set_query_param |
( |
const std::string & |
k, |
|
|
const std::string & |
v |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: