olp-cpp-sdk 1.25.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
olp::http::NetworkInitializationSettings Struct Reference

Settings for network initialization. More...

#include <NetworkInitializationSettings.h>

Public Attributes

size_t max_requests_count = 30u
 The maximum number of requests that can be sent simultaneously.
 
CertificateSettings certificate_settings
 The custom certificate settings.
 
porting::optional< std::string > diagnostic_output_path = porting::none
 The path to the network diagnostic output. If not set, diagnostics will not be produced.
 
size_t max_transfer_bytes_per_second = 0u
 Global transfer limit in bytes per second. A value of 0 means no limit. This value is applied per connection to cURL via CURLOPT_MAX_RECV_SPEED_LARGE / CURLOPT_MAX_SEND_SPEED_LARGE where supported.
 

Detailed Description

Settings for network initialization.

Member Data Documentation

◆ diagnostic_output_path

porting::optional<std::string> olp::http::NetworkInitializationSettings::diagnostic_output_path = porting::none

The path to the network diagnostic output. If not set, diagnostics will not be produced.

Note
Currently, only CURL-based network implementation supports this setting.

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