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_CORE_HPP
29#define WEBSOCKETPP_CONFIG_CORE_HPP
32#include <websocketpp/common/platforms.hpp>
33#include <websocketpp/common/cpp11.hpp>
34#include <websocketpp/common/stdint.hpp>
37#include <websocketpp/concurrency/basic.hpp>
40#include <websocketpp/transport/iostream/endpoint.hpp>
43#include <websocketpp/http/request.hpp>
44#include <websocketpp/http/response.hpp>
47#include <websocketpp/message_buffer/message.hpp>
48#include <websocketpp/message_buffer/alloc.hpp>
51#include <websocketpp/logger/basic.hpp>
52#include <websocketpp/logger/levels.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
194
195
196
197
198
199
200
201
202
203
208
209
210
211
212
217
218
219
220
221
222
223
224
225
226
227
232
233
234
235
236
237
238
239
244
245
246
247
248
249
250
251
261 typedef core::request_type request_type;
280
281
282
283
284
285
286
287
288
289
290
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.
Server endpoint role based on the given config.
Basic ASIO endpoint socket component.
Asio based endpoint transport component.
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 asio.
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.
Server config with asio transport and TLS disabled.
Extension specific settings:
static const uint8_t minimum_outgoing_window_bits
static const bool allow_disabling_context_takeover
static const long timeout_socket_shutdown
Length of time to wait for socket shutdown.
static const long timeout_connect
Length of time to wait for TCP connect.
static const long timeout_dns_resolve
Length of time to wait for dns resolution.
static const long timeout_proxy
Length of time to wait before a proxy handshake is aborted.
static const long timeout_socket_pre_init
Default timer values (in ms)
static bool const enable_multithreading
static const long timeout_socket_post_init
Length of time to wait for socket post-initialization.
Server config with iostream transport.
websocketpp::random::none::int_generator< uint32_t > rng_type
RNG policies.
static const websocketpp::log::level elog_level
Default static error logging channels.
websocketpp::transport::iostream::endpoint< transport_config > transport_type
Transport Endpoint Component.
static const size_t max_http_body_size
Default maximum http body size.
static const long timeout_open_handshake
Default timer values (in ms)
static const size_t max_message_size
Default maximum message size.
static const bool drop_on_protocol_error
Drop connections immediately on protocol error.
static const long timeout_close_handshake
Length of time before a closing handshake is aborted.
static const websocketpp::log::level alog_level
Default static access logging channels.
websocketpp::log::basic< concurrency_type, websocketpp::log::elevel > elog_type
Logging policies.
static const long timeout_pong
Length of time to wait for a pong after a ping.
static const bool silent_close
Suppresses the return of detailed connection close information.
static bool const enable_multithreading
static const size_t connection_read_buffer_size
Size of the per-connection read buffer.
static const bool enable_extensions
Global flag for enabling/disabling extensions.
static const int client_version
WebSocket Protocol version to use as a client.
Package of log levels for logging access events.
static level const devel
Development messages (warning: very chatty)
static level const all
Special aggregate value representing "all levels".
Package of log levels for logging errors.
static level const devel
Low level debugging information (warning: very chatty)
static level const all
Special aggregate value representing "all levels".