FormIt C++ API
v23.0.0 (2023.0.0)
|
Data used to form a REST request.
#include <FormItCoreTypes.h>
Public Attributes | |
StringType | hostname |
e.g., "https://example.com" More... | |
StringType | query |
e.g. More... | |
RequestMethod | method = RequestMethod::GET |
Method type. More... | |
::istream * | body = nullptr |
Request body (e.g., for POST requests) More... | |
::vector< Header > | headers |
Request headers. More... | |
::string | contentType = "text/plain" |
Set the content type for the request data in 'body'. More... | |
::istream* FormIt::Web::RequestConfig::body = nullptr |
Request body (e.g., for POST requests)
::string FormIt::Web::RequestConfig::contentType = "text/plain" |
Set the content type for the request data in 'body'.
::vector<Header> FormIt::Web::RequestConfig::headers |
Request headers.
StringType FormIt::Web::RequestConfig::hostname |
e.g., "https://example.com"
RequestMethod FormIt::Web::RequestConfig::method = RequestMethod::GET |
Method type.
StringType FormIt::Web::RequestConfig::query |
e.g.
for https://example.com/query?var1=hello, this would be "query?var1=hello"