Settings for the built-in libcurl transport.
More...
#include <transport.hpp>
|
|
std::chrono::milliseconds | connect_timeout {10000} |
| | TCP/TLS connection timeout.
|
| |
|
bool | verify_tls {true} |
| | Enables peer and host certificate verification.
|
| |
|
std::string | proxy |
| | Optional libcurl proxy URL; cleartext loopback URLs always bypass it.
|
| |
|
std::string | user_agent {"NeuralPlus"} |
| | HTTP User-Agent sent by the built-in transport.
|
| |
|
std::size_t | max_response_body_bytes {16U * 1024U * 1024U} |
| | Maximum response-body bytes accepted from a provider.
|
| |
|
std::size_t | max_response_header_bytes {256U * 1024U} |
| | Maximum aggregate response-header bytes accepted from a provider.
|
| |
Settings for the built-in libcurl transport.
The documentation for this struct was generated from the following file: