28 #ifndef WEBSOCKETPP_CONFIG_CORE_CLIENT_HPP
29 #define WEBSOCKETPP_CONFIG_CORE_CLIENT_HPP
32 #include <websocketpp/common/platforms.hpp>
33 #include <websocketpp/common/cpp11.hpp>
34 #include <websocketpp/common/stdint.hpp>
37 #ifndef _WEBSOCKETPP_NO_THREADING_
38 #include <websocketpp/concurrency/basic.hpp>
40 #include <websocketpp/concurrency/none.hpp>
44 #include <websocketpp/transport/iostream/endpoint.hpp>
47 #include <websocketpp/http/request.hpp>
48 #include <websocketpp/http/response.hpp>
51 #include <websocketpp/message_buffer/message.hpp>
52 #include <websocketpp/message_buffer/alloc.hpp>
55 #include <websocketpp/logger/basic.hpp>
58 #include <websocketpp/random/random_device.hpp>
61 #include <websocketpp/endpoint_base.hpp>
62 #include <websocketpp/connection_base.hpp>
65 #include <websocketpp/extensions/permessage_deflate/disabled.hpp>
75 #ifndef _WEBSOCKETPP_NO_THREADING_
118 static bool const enable_multithreading =
true;
201 static const size_t connection_read_buffer_size = 16384;
282 #endif // WEBSOCKETPP_CONFIG_CORE_CLIENT_HPP
static level const all
Special aggregate value representing "all levels".
static const long timeout_open_handshake
Default timer values (in ms)
static const long timeout_pong
Length of time to wait for a pong after a ping.
static const long timeout_socket_shutdown
Length of time to wait for socket shutdown.
Concurrency policy that uses std::mutex / boost::mutex.
static level const devel
Low level debugging information (warning: very chatty)
static const websocketpp::log::level alog_level
Default static access logging channels.
static bool const enable_multithreading
static const long timeout_connect
Length of time to wait for TCP connect.
Package of log levels for logging access events.
Stores, parses, and manipulates HTTP responses.
static level const devel
Development messages (warning: very chatty)
Stub class for use when disabling permessage_deflate extension.
static const int client_version
WebSocket Protocol version to use as a client.
websocketpp::endpoint_base endpoint_base
User overridable Endpoint base class.
websocketpp::transport::iostream::endpoint< transport_config > transport_type
Transport Endpoint Component.
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)
Stub for user supplied base class.
static const uint8_t minimum_outgoing_window_bits
static const long timeout_close_handshake
Length of time before a closing handshake is aborted.
static const websocketpp::log::level elog_level
Default static error logging channels.
Basic logger that outputs to an ostream.
static const bool enable_extensions
Global flag for enabling/disabling extensions.
Stub for user supplied base class.
static const bool drop_on_protocol_error
Drop connections immediately on protocol error.
Namespace for the WebSocket++ project.
Represents a buffer for a single WebSocket message.
Stub concurrency policy that implements the interface using no-ops.
static const bool allow_disabling_context_takeover
websocketpp::random::random_device::int_generator< uint32_t, concurrency_type > rng_type
RNG policies.
websocketpp::connection_base connection_base
User overridable Connection base class.
Package of log levels for logging errors.
Extension specific settings:
Thread safe non-deterministic random integer generator.
Stores, parses, and manipulates HTTP requests.
static const long timeout_socket_post_init
Length of time to wait for socket post-initialization.
static const bool silent_close
Suppresses the return of detailed connection close information.
static const size_t max_message_size
Default maximum message size.
static level const all
Special aggregate value representing "all levels".
static const long timeout_dns_resolve
Length of time to wait for dns resolution.
Client config with iostream transport.
websocketpp::log::basic< concurrency_type, websocketpp::log::elevel > elog_type
Logging policies.