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_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>
41template <
typename config>
47 typedef lib::shared_ptr<
type>
ptr;
71
72
73
74
75
76
77
78
79
80
85
86
87
88
95
96
97
98
99
100
101
102
103
104
105
110
111
112
113
114
116 cb(lib::error_code());
121
122
123
124
125
126
127
128
130 return lib::error_code();
lib::error_code init(transport_con_ptr)
Initialize a connection.
debug::connection< config > transport_con_type
config::elog_type elog_type
Type of this endpoint's error logging policy.
bool is_secure() const
Tests whether or not the underlying transport is secure.
void async_connect(transport_con_ptr, uri_ptr, connect_handler cb)
Initiate a new connection.
lib::shared_ptr< type > ptr
Type of a pointer to this endpoint transport component.
void init_logging(lib::shared_ptr< alog_type >, lib::shared_ptr< elog_type >)
Initialize logging.
void set_secure(bool)
Set whether or not endpoint can create secure connections.
transport_con_type::ptr transport_con_ptr
config::alog_type alog_type
Type of this endpoint's access logging policy.
endpoint type
Type of this endpoint transport component.
config::concurrency_type concurrency_type
Type of this endpoint's concurrency policy.
Transport policies provide network connectivity and timers.
lib::function< void(lib::error_code const &)> connect_handler
The type and signature of the callback passed to the connect method.
Namespace for the WebSocket++ project.
lib::shared_ptr< uri > uri_ptr
Pointer to a URI.