staticlib_http  1.3.2
 All Classes Namespaces Files Functions Variables
Public Attributes | List of all members
staticlib::http::session_options Struct Reference

Configuration options for the HTTP Session. More...

#include <staticlib/http/session_options.hpp>

Public Attributes

uint32_t requests_queue_max_size = 1024
 Max number of the enqueued requests.
uint32_t fdset_timeout_millis = 100
 Timeout to wait for when reading data unsuccessfully.
uint16_t mt_socket_select_max_timeout_millis = 100
 Socket 'select' max timeout for multi-threaded resource (in milliseconds)
uint16_t st_socket_select_max_timeout_millis = 10000
 Socket 'select' max timeout for single-threaded resource (in milliseconds)
uint32_t all_requests_paused_timeout_millis = 100
 Timeout to wait for when requests queue is not empty, but all running requests are paused.
uint32_t max_host_connections = 0
 https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_HOST_CONNECTIONS.html
uint32_t max_total_connections = 0
 https://curl.haxx.se/libcurl/c/CURLMOPT_MAX_TOTAL_CONNECTIONS.html
uint32_t maxconnects = 0
 https://curl.haxx.se/libcurl/c/CURLMOPT_MAXCONNECTS.html

Detailed Description

Configuration options for the HTTP Session.

Member Data Documentation

uint32_t staticlib::http::session_options::all_requests_paused_timeout_millis = 100

Timeout to wait for when requests queue is not empty, but all running requests are paused.

uint32_t staticlib::http::session_options::fdset_timeout_millis = 100

Timeout to wait for when reading data unsuccessfully.

uint32_t staticlib::http::session_options::max_host_connections = 0
uint32_t staticlib::http::session_options::max_total_connections = 0
uint32_t staticlib::http::session_options::maxconnects = 0
uint16_t staticlib::http::session_options::mt_socket_select_max_timeout_millis = 100

Socket 'select' max timeout for multi-threaded resource (in milliseconds)

uint32_t staticlib::http::session_options::requests_queue_max_size = 1024

Max number of the enqueued requests.

uint16_t staticlib::http::session_options::st_socket_select_max_timeout_millis = 10000

Socket 'select' max timeout for single-threaded resource (in milliseconds)


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