WebSocket++  0.8.3-dev
C++ websocket client/server library
Public Types | Static Public Attributes | List of all members
websocketpp::config::core::transport_config Struct Reference
Inheritance diagram for websocketpp::config::core::transport_config:
websocketpp::config::asio::transport_config websocketpp::config::asio_tls::transport_config

Public Types

typedef type::concurrency_type concurrency_type
 
typedef type::elog_type elog_type
 
typedef type::alog_type alog_type
 
typedef type::request_type request_type
 
typedef type::response_type response_type
 

Static Public Attributes

static bool const enable_multithreading = true
 
static const long timeout_socket_pre_init = 5000
 Default timer values (in ms) More...
 
static const long timeout_proxy = 5000
 Length of time to wait before a proxy handshake is aborted.
 
static const long timeout_socket_post_init = 5000
 Length of time to wait for socket post-initialization. More...
 
static const long timeout_dns_resolve = 5000
 Length of time to wait for dns resolution.
 
static const long timeout_connect = 5000
 Length of time to wait for TCP connect.
 
static const long timeout_socket_shutdown = 5000
 Length of time to wait for socket shutdown.
 

Detailed Description

Definition at line 100 of file core.hpp.

Member Data Documentation

◆ enable_multithreading

bool const websocketpp::config::core::transport_config::enable_multithreading = true
static

Controls compile time enabling/disabling of thread syncronization code Disabling can provide a minor performance improvement to single threaded applications

Definition at line 110 of file core.hpp.

◆ timeout_socket_post_init

const long websocketpp::config::core::transport_config::timeout_socket_post_init = 5000
static

Length of time to wait for socket post-initialization.

Exactly what this includes depends on the socket policy in use. Often this means the TLS handshake

Definition at line 128 of file core.hpp.

◆ timeout_socket_pre_init

const long websocketpp::config::core::transport_config::timeout_socket_pre_init = 5000
static

Default timer values (in ms)

Length of time to wait for socket pre-initialization Exactly what this includes depends on the socket policy in use

Definition at line 118 of file core.hpp.


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