#include <websocket.hpp>
Definition at line 20 of file websocket.hpp.
◆ ~websocket_connection()
virtual fc::http::websocket_connection::~websocket_connection |
( |
| ) |
|
|
inlinevirtual |
◆ close()
virtual void fc::http::websocket_connection::close |
( |
int64_t |
code, |
|
|
const std::string & |
reason |
|
) |
| |
|
inlinevirtual |
◆ get_remote_endpoint_string()
const std::string& fc::http::websocket_connection::get_remote_endpoint_string |
( |
| ) |
const |
|
inline |
◆ get_request_header()
virtual std::string fc::http::websocket_connection::get_request_header |
( |
const std::string & |
key | ) |
|
|
pure virtual |
◆ get_session_data()
boost::any& fc::http::websocket_connection::get_session_data |
( |
| ) |
|
|
inline |
◆ on_http()
fc::http::reply fc::http::websocket_connection::on_http |
( |
const std::string & |
message | ) |
|
|
inline |
◆ on_http_handler()
void fc::http::websocket_connection::on_http_handler |
( |
const std::function< fc::http::reply(const std::string &)> & |
h | ) |
|
|
inline |
◆ on_message()
void fc::http::websocket_connection::on_message |
( |
const std::string & |
message | ) |
|
|
inline |
◆ on_message_handler()
void fc::http::websocket_connection::on_message_handler |
( |
const std::function< void(const std::string &)> & |
h | ) |
|
|
inline |
◆ send_message()
virtual void fc::http::websocket_connection::send_message |
( |
const std::string & |
message | ) |
|
|
pure virtual |
◆ set_session_data()
void fc::http::websocket_connection::set_session_data |
( |
boost::any |
d | ) |
|
|
inline |
◆ _remote_endpoint
std::string fc::http::websocket_connection::_remote_endpoint |
|
protected |
◆ closed
fc::signal<void()> fc::http::websocket_connection::closed |
The documentation for this class was generated from the following file: