◆ connection()
◆ close()
void websocket_server::connection::close |
( |
| ) |
|
◆ do_read_websocket()
void websocket_server::connection::do_read_websocket |
( |
| ) |
|
|
private |
◆ do_write()
void websocket_server::connection::do_write |
( |
| ) |
|
|
private |
◆ handle_http_request()
void websocket_server::connection::handle_http_request |
( |
| ) |
|
|
private |
◆ on_close()
void websocket_server::connection::on_close |
( |
boost::beast::error_code |
ec | ) |
|
|
private |
◆ on_read_request()
void websocket_server::connection::on_read_request |
( |
boost::beast::error_code |
ec, |
|
|
std::size_t |
|
|
) |
| |
|
private |
◆ on_read_websocket()
void websocket_server::connection::on_read_websocket |
( |
boost::beast::error_code |
ec, |
|
|
std::size_t |
|
|
) |
| |
|
private |
◆ on_websocket_accept()
void websocket_server::connection::on_websocket_accept |
( |
boost::beast::error_code |
ec | ) |
|
|
private |
◆ on_write()
void websocket_server::connection::on_write |
( |
boost::beast::error_code |
ec, |
|
|
std::size_t |
|
|
) |
| |
|
private |
◆ send()
void websocket_server::connection::send |
( |
const std::string & |
message | ) |
|
◆ start()
void websocket_server::connection::start |
( |
| ) |
|
◆ buffer_
boost::beast::flat_buffer websocket_server::connection::buffer_ |
|
private |
◆ http_request_
◆ id_
id_type websocket_server::connection::id_ |
|
private |
◆ is_websocket_
bool websocket_server::connection::is_websocket_ {false} |
|
private |
◆ message_queue_
std::queue<queued_message> websocket_server::connection::message_queue_ |
|
private |
◆ queue_mutex_
std::mutex websocket_server::connection::queue_mutex_ |
|
private |
◆ server_
◆ socket_
boost::asio::ip::tcp::socket websocket_server::connection::socket_ |
|
private |
◆ websocket_server
friend websocket_server::connection::websocket_server |
◆ writing_
bool websocket_server::connection::writing_ {false} |
|
private |
◆ ws_stream_
std::optional<boost::beast::websocket::stream<boost::asio::ip::tcp::socket&> > websocket_server::connection::ws_stream_ |
|
private |
The documentation for this class was generated from the following files: