Public Types | |
typedef perftest | type |
typedef std::chrono::duration< int, std::micro > | dur_type |
Public Member Functions | |
perftest () | |
void | start (std::string uri) |
void | on_socket_init (websocketpp::connection_hdl) |
context_ptr | on_tls_init (websocketpp::connection_hdl) |
void | on_fail (websocketpp::connection_hdl hdl) |
void | on_open (websocketpp::connection_hdl hdl) |
void | on_message (websocketpp::connection_hdl hdl, message_ptr) |
void | on_close (websocketpp::connection_hdl) |
Definition at line 52 of file debug_client.cpp.
typedef perftest perftest::type |
Definition at line 54 of file debug_client.cpp.
typedef std::chrono::duration<int,std::micro> perftest::dur_type |
Definition at line 55 of file debug_client.cpp.
|
inline |
Definition at line 57 of file debug_client.cpp.
References websocketpp::log::elevel::all, websocketpp::log::alevel::all, websocketpp::transport::asio::endpoint< config >::init_asio(), on_close(), on_fail(), on_message(), on_open(), on_socket_init(), websocketpp::endpoint< connection, config >::set_access_channels(), websocketpp::endpoint< connection, config >::set_close_handler(), websocketpp::endpoint< connection, config >::set_error_channels(), websocketpp::endpoint< connection, config >::set_fail_handler(), websocketpp::endpoint< connection, config >::set_message_handler(), websocketpp::endpoint< connection, config >::set_open_handler(), and websocketpp::transport::asio::tls_socket::endpoint::set_socket_init_handler().
|
inline |
Definition at line 73 of file debug_client.cpp.
References websocketpp::log::alevel::app, websocketpp::client< config >::connect(), websocketpp::endpoint< connection, config >::get_alog(), websocketpp::client< config >::get_connection(), websocketpp::transport::asio::endpoint< config >::run(), and websocketpp::log::stub::write().
Referenced by main().
|
inline |
Definition at line 91 of file debug_client.cpp.
Referenced by perftest().
|
inline |
Definition at line 95 of file debug_client.cpp.
|
inline |
Definition at line 110 of file debug_client.cpp.
References websocketpp::endpoint< connection, config >::get_con_from_hdl().
Referenced by perftest().
|
inline |
Definition at line 122 of file debug_client.cpp.
References websocketpp::endpoint< connection, config >::send(), and websocketpp::frame::opcode::text.
Referenced by perftest().
|
inline |
Definition at line 126 of file debug_client.cpp.
References websocketpp::endpoint< connection, config >::close(), and websocketpp::close::status::going_away.
Referenced by perftest().
|
inline |
Definition at line 130 of file debug_client.cpp.
Referenced by perftest().