WebSocket++
0.8.1
C++ websocket client/server library
|
28 #ifndef WEBSOCKETPP_CONFIG_DEBUG_HPP
29 #define WEBSOCKETPP_CONFIG_DEBUG_HPP
34 #include <websocketpp/common/cpp11.hpp>
35 #include <websocketpp/common/stdint.hpp>
38 #include <websocketpp/concurrency/basic.hpp>
41 #include <websocketpp/transport/iostream/endpoint.hpp>
44 #include <websocketpp/http/request.hpp>
45 #include <websocketpp/http/response.hpp>
48 #include <websocketpp/message_buffer/message.hpp>
49 #include <websocketpp/message_buffer/alloc.hpp>
52 #include <websocketpp/logger/basic.hpp>
55 #include <websocketpp/random/none.hpp>
58 #include <websocketpp/endpoint_base.hpp>
59 #include <websocketpp/connection_base.hpp>
62 #include <websocketpp/extensions/permessage_deflate/disabled.hpp>
79 typedef message_buffer::message<message_buffer::alloc::con_msg_manager>
84 endpoint_msg_manager_type;
101 typedef type::concurrency_type concurrency_type;
103 typedef type::alog_type alog_type;
104 typedef type::request_type request_type;
105 typedef type::response_type response_type;
193 static const size_t connection_read_buffer_size = 16384;
250 typedef type::request_type request_type;
static const bool enable_extensions
Global flag for enabling/disabling extensions.
static const long timeout_close_handshake
Length of time before a closing handshake is aborted.
Stub for user supplied base class.
static bool const enable_multithreading
static const size_t max_http_body_size
Default maximum http body size.
Thread safe stub "random" integer generator.
Random number generation policies.
static const websocketpp::log::level elog_level
Default static error logging channels.
static const long timeout_open_handshake
Default timer values (in ms)
Transport policies provide network connectivity and timers.
static const long timeout_pong
Length of time to wait for a pong after a ping.
static const long timeout_socket_post_init
Length of time to wait for socket post-initialization.
static const long timeout_connect
Length of time to wait for TCP connect.
static std::vector< int > const versions_supported(helper, helper+4)
Container that stores the list of protocol versions supported.
static const bool silent_close
Suppresses the return of detailed connection close information.
static level const all
Special aggregate value representing "all levels".
Package of log levels for logging errors.
static bool const enable_multithreading
Basic logger that outputs to an ostream.
Stub for user supplied base class.
static const size_t max_message_size
Default maximum message size.
static const long timeout_socket_pre_init
Default timer values (in ms)
Implementation of RFC 7692, the permessage-deflate WebSocket extension.
static const websocketpp::log::level alog_level
Default static access logging channels.
Client/Server debug config with iostream transport.
static const int client_version
WebSocket Protocol version to use as a client.
Transport policy that uses STL iostream for I/O and does not support timers.
static const bool allow_disabling_context_takeover
websocketpp::log::basic< concurrency_type, websocketpp::log::elevel > elog_type
Logging policies.
static const bool drop_on_protocol_error
Drop connections immediately on protocol error.
Stores, parses, and manipulates HTTP requests.
static const long timeout_proxy
Length of time to wait before a proxy handshake is aborted.
static const uint8_t minimum_outgoing_window_bits
Extension specific settings:
Stub RNG policy that always returns 0.
Concurrency handling support.
Stub class for use when disabling permessage_deflate extension.
Concurrency policy that uses std::mutex / boost::mutex.
Package of log levels for logging access events.
Stores, parses, and manipulates HTTP responses.
websocketpp::random::none::int_generator< uint32_t > rng_type
RNG policies.
static level const all
Special aggregate value representing "all levels".
static const long timeout_socket_shutdown
Length of time to wait for socket shutdown.
websocketpp::transport::iostream::endpoint< transport_config > transport_type
Transport Endpoint Component.
static const long timeout_dns_resolve
Length of time to wait for dns resolution.