|
HttpResponse & | GetHttpResponse () const |
| Returns a container that should be filled with response data to this request.
|
|
const HttpMethod & | GetMethod () const |
|
const std::string & | GetMethodStr () const |
|
int | GetHttpMajor () const |
|
int | GetHttpMinor () const |
|
const std::string & | GetUrl () const |
|
const std::string & | GetRequestPath () const |
|
const std::string & | GetPathSuffix () const |
|
std::chrono::duration< double > | GetRequestTime () const |
|
std::chrono::duration< double > | GetResponseTime () const |
|
const std::string & | GetHost () const |
|
const std::string & | GetArg (const std::string &arg_name) const |
|
const std::vector< std::string > & | GetArgVector (const std::string &arg_name) const |
|
bool | HasArg (const std::string &arg_name) const |
|
size_t | ArgCount () const |
|
std::vector< std::string > | ArgNames () const |
|
const FormDataArg & | GetFormDataArg (const std::string &arg_name) const |
|
const std::vector< FormDataArg > & | GetFormDataArgVector (const std::string &arg_name) const |
|
bool | HasFormDataArg (const std::string &arg_name) const |
|
size_t | FormDataArgCount () const |
|
std::vector< std::string > | FormDataArgNames () const |
|
const std::string & | GetPathArg (const std::string &arg_name) const |
|
const std::string & | GetPathArg (size_t index) const |
|
bool | HasPathArg (const std::string &arg_name) const |
|
bool | HasPathArg (size_t index) const |
|
size_t | PathArgCount () const |
|
const std::string & | GetHeader (std::string_view header_name) const |
|
const std::string & | GetHeader (const ::http::headers::PredefinedHeader &header_name) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const HeadersMap & | GetHeaders () const |
|
bool | HasHeader (std::string_view header_name) const |
|
bool | HasHeader (const ::http::headers::PredefinedHeader &header_name) const |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
size_t | HeaderCount () const |
|
HeadersMapKeys | GetHeaderNames () const |
|
void | RemoveHeader (std::string_view header_name) |
| Removes the header with case insensitive name header_name.
|
|
void | RemoveHeader (const ::http::headers::PredefinedHeader &header_name) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
const std::string & | GetCookie (const std::string &cookie_name) const |
|
bool | HasCookie (const std::string &cookie_name) const |
|
size_t | CookieCount () const |
|
CookiesMapKeys | GetCookieNames () const |
|
const std::string & | RequestBody () const |
|
const HeadersMap & | RequestHeaders () const |
|
const CookiesMap & | RequestCookies () const |
|
void | SetResponseStatus (HttpStatus status) const |
| Set the response status code.
|
|
bool | IsBodyCompressed () const |
|