Molybden API
Loading...
Searching...
No Matches
molybden::LoadUrlOptions Struct Reference

The optional parameters of the load URL request. More...

#include <navigation.hpp>

Public Attributes

std::shared_ptr< UploadDataupload_data
 The upload data that will be sent with the request.
 
std::vector< HttpHeaderextra_http_headers
 The extra HTTP headers that will be sent with the request.
 

Detailed Description

The optional parameters of the load URL request.

Member Data Documentation

◆ extra_http_headers

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:


The documentation for this struct was generated from the following file: