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>
47 typedef lib::shared_ptr<type>
ptr;
116 cb(lib::error_code());
129 lib::error_code
init(transport_con_ptr) {
130 return lib::error_code();
140 #endif // WEBSOCKETPP_TRANSPORT_DEBUG_HPP endpoint type
Type of this endpoint transport component.
lib::shared_ptr< type > ptr
Type of a shared pointer to this connection transport component.
lib::shared_ptr< type > ptr
Type of a pointer to this endpoint transport component.
debug::connection< config > transport_con_type
void set_secure(bool)
Set whether or not endpoint can create secure connections.
lib::error_code init(transport_con_ptr)
Initialize a connection.
void init_logging(alog_type *, elog_type *)
Initialize logging.
Namespace for the WebSocket++ project.
lib::shared_ptr< uri > uri_ptr
Pointer to a URI.
config::concurrency_type concurrency_type
Type of this endpoint's concurrency policy.
void async_connect(transport_con_ptr, uri_ptr, connect_handler cb)
Initiate a new connection.
config::elog_type elog_type
Type of this endpoint's error logging policy.
config::alog_type alog_type
Type of this endpoint's access logging policy.
bool is_secure() const
Tests whether or not the underlying transport is secure.
transport_con_type::ptr transport_con_ptr
lib::function< void(lib::error_code const &)> connect_handler
The type and signature of the callback passed to the connect method.