#include "http-request.h"
Public Member Functions | |
Request (const std::string &url, InternetProtocol protocol=InternetProtocol::V4) | |
Response | send (const std::string &method, const std::map< std::string, std::string > ¶meters, const std::vector< std::string > &headers={}) |
Response | send (const std::string &method, const std::vector< uint8_t > &body, const std::vector< std::string > &headers) |
Response | send (const std::string &method="GET", const std::string &body="", const std::vector< std::string > &headers={}) |
Private Attributes | |
std::string | domain |
InternetProtocol | internetProtocol |
std::string | path |
std::string | port |
std::string | scheme |
Definition at line 173 of file http-request.h.
|
inlineexplicit |
|
inline |
Definition at line 223 of file http-request.h.
|
inline |
Definition at line 250 of file http-request.h.
References http::Response::body, domain, http::Response::headers, internetProtocol, min, path, port, scheme, http::Response::status, and nlohmann::to_string().
|
inline |
Definition at line 241 of file http-request.h.
|
private |
Definition at line 465 of file http-request.h.
|
private |
Definition at line 463 of file http-request.h.
Referenced by send().
|
private |
Definition at line 467 of file http-request.h.
|
private |
Definition at line 466 of file http-request.h.
|
private |
Definition at line 464 of file http-request.h.