Server config with iostream transport.
More...
#include <core.hpp>
Definition at line 67 of file core.hpp.
◆ alog_type
◆ con_msg_manager_type
◆ concurrency_type
◆ connection_base
◆ elog_type
◆ endpoint_base
◆ endpoint_msg_manager_type
◆ message_type
◆ permessage_deflate_type
◆ request_type
◆ response_type
◆ rng_type
◆ transport_type
◆ type
◆ alog_level
Initial value:=
static level const devel
Development messages (warning: very chatty)
static level const all
Special aggregate value representing "all levels".
Which access logging channels to enable at compile time. Channels not enabled here will be unable to be selected by programs using the library. This option gives an optimizing compiler the ability to remove entirely code to test whether or not to print out log messages on a certain channel
Default is all except for development/debug level access messages
Definition at line 188 of file core.hpp.
◆ client_version
const int websocketpp::config::core::client_version = 13 |
|
static |
What version of the WebSocket Protocol to use for outgoing client connections. Setting this to a value other than 13 (RFC6455) is not recommended.
Definition at line 163 of file core.hpp.
◆ connection_read_buffer_size
const size_t websocketpp::config::core::connection_read_buffer_size = 16384 |
|
static |
◆ drop_on_protocol_error
const bool websocketpp::config::core::drop_on_protocol_error = false |
|
static |
Drop connections on protocol error rather than sending a close frame. Off by default. This may result in legit messages near the error being dropped as well. It may free up resources otherwise spent dealing with misbehaving clients.
Definition at line 201 of file core.hpp.
◆ elog_level
Initial value:=
static level const devel
Low level debugging information (warning: very chatty)
static level const all
Special aggregate value representing "all levels".
Which error logging channels to enable at compile time. Channels not enabled here will be unable to be selected by programs using the library. This option gives an optimizing compiler the ability to remove entirely code to test whether or not to print out log messages on a certain channel
Default is all except for development/debug level errors
Definition at line 175 of file core.hpp.
◆ enable_extensions
const bool websocketpp::config::core::enable_extensions = true |
|
static |
◆ enable_multithreading
bool const websocketpp::config::core::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 97 of file core.hpp.
◆ max_http_body_size
const size_t websocketpp::config::core::max_http_body_size = 32000000 |
|
static |
Default value for the http parser's maximum body size. Maximum body size determines the point at which the library will abort reading an HTTP connection with the 413/request entity too large error.
The default is 32MB
- Since
- 0.5.0
Definition at line 240 of file core.hpp.
◆ max_message_size
const size_t websocketpp::config::core::max_message_size = 32000000 |
|
static |
Default value for the processor's maximum message size. Maximum message size determines the point at which the library will fail a connection with the message_too_big protocol error.
The default is 32MB
- Since
- 0.3.0
Definition at line 228 of file core.hpp.
◆ silent_close
const bool websocketpp::config::core::silent_close = false |
|
static |
Silence close suppresses the return of detailed connection close information during the closing handshake. This information is useful for debugging and presenting useful errors to end users but may be undesirable for security reasons in some production environments. Close reasons could be used by an attacker to confirm that the endpoint is out of resources or be used to identify the WebSocket implementation in use.
Note: this will suppress all close codes, including those explicitly sent by local applications.
Definition at line 216 of file core.hpp.
◆ timeout_close_handshake
const long websocketpp::config::core::timeout_close_handshake = 5000 |
|
static |
◆ timeout_open_handshake
const long websocketpp::config::core::timeout_open_handshake = 5000 |
|
static |
Length of time before an opening handshake is aborted
Definition at line 151 of file core.hpp.
◆ timeout_pong
const long websocketpp::config::core::timeout_pong = 5000 |
|
static |
The documentation for this struct was generated from the following file:
- libraries/fc/vendor/websocketpp/websocketpp/config/core.hpp