Molybden API
|
The optional parameters of the load URL request. More...
#include <navigation.hpp>
Public Attributes | |
std::shared_ptr< UploadData > | upload_data |
The upload data that will be sent with the request. | |
std::vector< HttpHeader > | extra_http_headers |
The extra HTTP headers that will be sent with the request. | |
The optional parameters of the load URL request.
std::vector<HttpHeader> molybden::LoadUrlOptions::extra_http_headers |
The extra HTTP headers that will be sent with the request.
If upload_data
represents ByteData
, then you must add the "Content-Type" HTTP header to describe the type of the given upload data, e.g. "Content-Type:text/plain".
For the upload data types other than ByteData
, the Content-Type
header is added automatically:
text/plain
.application/x-www-form-urlencoded
.multipart/form-data
.