2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
116
117
125
126
127
160
161
162
163
168
169
170
171
172
173
174
175
181
182
183
184
185
186
187
188
193 static const size_t connection_read_buffer_size = 16384;
197
198
199
200
201
206
207
208
209
210
211
212
213
214
215
216
221
222
223
224
225
226
227
228
233
234
235
236
237
238
239
240
250 typedef type::request_type request_type;
269
270
271
272
273
274
275
276
277
278
279
Concurrency policy that uses std::mutex / boost::mutex.
Stub for user supplied base class.
Stub for user supplied base class.
Stub class for use when disabling permessage_deflate extension.
Stores, parses, and manipulates HTTP requests.
Stores, parses, and manipulates HTTP responses.
Basic logger that outputs to an ostream.
Thread safe stub "random" integer generator.
Concurrency handling support.
Implementation of RFC 7692, the permessage-deflate WebSocket extension.
Stub RNG policy that always returns 0.
Random number generation policies.
Transport policy that uses STL iostream for I/O and does not support timers.
Transport policies provide network connectivity and timers.
Namespace for the WebSocket++ project.
Extension specific settings:
static const bool allow_disabling_context_takeover
static const uint8_t minimum_outgoing_window_bits
static const long timeout_proxy
Length of time to wait before a proxy handshake is aborted.
static bool const enable_multithreading
static const long timeout_connect
Length of time to wait for TCP connect.
static const long timeout_socket_pre_init
Default timer values (in ms)
static const long timeout_socket_shutdown
Length of time to wait for socket shutdown.
static const long timeout_socket_post_init
Length of time to wait for socket post-initialization.
static const long timeout_dns_resolve
Length of time to wait for dns resolution.
Client/Server debug config with iostream transport.
static const bool drop_on_protocol_error
Drop connections immediately on protocol error.
static const websocketpp::log::level elog_level
Default static error logging channels.
static const int client_version
WebSocket Protocol version to use as a client.
static const size_t max_message_size
Default maximum message size.
websocketpp::transport::iostream::endpoint< transport_config > transport_type
Transport Endpoint Component.
static const bool enable_extensions
Global flag for enabling/disabling extensions.
static const long timeout_pong
Length of time to wait for a pong after a ping.
websocketpp::random::none::int_generator< uint32_t > rng_type
RNG policies.
static const size_t max_http_body_size
Default maximum http body size.
static const bool silent_close
Suppresses the return of detailed connection close information.
static const long timeout_open_handshake
Default timer values (in ms)
static const long timeout_close_handshake
Length of time before a closing handshake is aborted.
static bool const enable_multithreading
websocketpp::log::basic< concurrency_type, websocketpp::log::elevel > elog_type
Logging policies.
static const websocketpp::log::level alog_level
Default static access logging channels.
Package of log levels for logging access events.
static level const all
Special aggregate value representing "all levels".
Package of log levels for logging errors.
static level const all
Special aggregate value representing "all levels".