WebSocket++
0.8.3-dev
C++ websocket client/server library
|
28 #ifndef WEBSOCKETPP_TRANSPORT_DEBUG_HPP
29 #define WEBSOCKETPP_TRANSPORT_DEBUG_HPP
31 #include <websocketpp/common/memory.hpp>
32 #include <websocketpp/logger/levels.hpp>
34 #include <websocketpp/transport/base/endpoint.hpp>
35 #include <websocketpp/transport/debug/connection.hpp>
41 template <
typename config>
116 cb(lib::error_code());
130 return lib::error_code();
void async_connect(transport_con_ptr, uri_ptr, connect_handler cb)
Initiate a new connection.
transport_con_type::ptr transport_con_ptr
endpoint type
Type of this endpoint transport component.
config::alog_type alog_type
Type of this endpoint's access logging policy.
static std::vector< int > const versions_supported(helper, helper+4)
Container that stores the list of protocol versions supported.
debug::connection< config > transport_con_type
lib::function< void()> dispatch_handler
The type and signature of the callback passed to the dispatch method.
void set_secure(bool)
Set whether or not endpoint can create secure connections.
void init_logging(lib::shared_ptr< alog_type >, lib::shared_ptr< elog_type >)
Initialize logging.
lib::error_code init(transport_con_ptr)
Initialize a connection.
config::elog_type elog_type
Type of this endpoint's error logging policy.
config::concurrency_type concurrency_type
Type of this endpoint's concurrency policy.
bool is_secure() const
Tests whether or not the underlying transport is secure.