#include <HTTPRequest.h>
|
| Request (const std::string &uriString, const InternetProtocol protocol=InternetProtocol::v4) |
|
Response | send (const std::string &method="GET", const std::string &body="", const HeaderFields &headerFields={}, const std::chrono::milliseconds timeout=std::chrono::milliseconds{-1}) |
|
Response | send (const std::string &method, const std::vector< uint8_t > &body, const HeaderFields &headerFields={}, const std::chrono::milliseconds timeout=std::chrono::milliseconds{-1}) |
|
◆ Request()
◆ send() [1/2]
Response http::Request::send |
( |
const std::string & |
method, |
|
|
const std::vector< uint8_t > & |
body, |
|
|
const HeaderFields & |
headerFields = {} , |
|
|
const std::chrono::milliseconds |
timeout = std::chrono::milliseconds{-1} |
|
) |
| |
|
inline |
◆ send() [2/2]
Response http::Request::send |
( |
const std::string & |
method = "GET" , |
|
|
const std::string & |
body = "" , |
|
|
const HeaderFields & |
headerFields = {} , |
|
|
const std::chrono::milliseconds |
timeout = std::chrono::milliseconds{-1} |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/instrument_control_lib/instrument_control_lib/include/HTTPRequest.h