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>
37 namespace websocketpp {
41 template <
typename config>
45 typedef endpoint type;
47 typedef lib::shared_ptr<type> ptr;
50 typedef typename config::concurrency_type concurrency_type;
52 typedef typename config::elog_type elog_type;
54 typedef typename config::alog_type alog_type;
58 typedef debug::connection<config> transport_con_type;
61 typedef typename transport_con_type::ptr transport_con_ptr;
81 void set_secure(
bool) {}
89 bool is_secure()
const {
106 void init_logging(lib::shared_ptr<alog_type>, lib::shared_ptr<elog_type>) {}
115 void async_connect(transport_con_ptr, uri_ptr, connect_handler cb) {
116 cb(lib::error_code());
129 lib::error_code init(transport_con_ptr) {
130 return lib::error_code();