websocketpp
0.4.0
C++/Boost Asio based websocket client/server library
|
Server config with iostream transport. More...
#include <core.hpp>
Classes | |
struct | permessage_deflate_config |
Extension specific settings: More... | |
struct | transport_config |
Static Public Attributes | |
static bool const | enable_multithreading = true |
static const long | timeout_open_handshake = 5000 |
Default timer values (in ms) More... | |
static const long | timeout_close_handshake = 5000 |
Length of time before a closing handshake is aborted. | |
static const long | timeout_pong = 5000 |
Length of time to wait for a pong after a ping. | |
static const int | client_version = 13 |
WebSocket Protocol version to use as a client. More... | |
static const websocketpp::log::level | elog_level |
Default static error logging channels. More... | |
static const websocketpp::log::level | alog_level |
Default static access logging channels. More... | |
static const size_t | connection_read_buffer_size = 16384 |
static const bool | drop_on_protocol_error = false |
Drop connections immediately on protocol error. More... | |
static const bool | silent_close = false |
Suppresses the return of detailed connection close information. More... | |
static const size_t | max_message_size = 32000000 |
Default maximum message size. More... | |
static const bool | enable_extensions = true |
Global flag for enabling/disabling extensions. | |
|
static |
Default static access logging channels.
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
|
static |
|
static |
Drop connections immediately on protocol error.
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.
|
static |
Default static error logging channels.
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
|
static |
|
static |
|
static |
Suppresses the return of detailed connection close information.
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.
|
static |