#include <websocket_client.hh>
|
void | on_resolve (const boost::beast::error_code &ec, boost::asio::ip::tcp::resolver::results_type results) |
|
void | on_connect (const boost::beast::error_code &ec) |
|
void | on_ssl_handshake (const boost::beast::error_code &ec) |
|
void | on_handshake (const boost::beast::error_code &ec) |
|
void | on_write (const boost::beast::error_code &ec, std::size_t bytes_transferred) |
|
void | on_read (const boost::beast::error_code &ec, std::size_t bytes_transferred) |
|
void | on_close (const boost::beast::error_code &ec) |
|
void | do_read () |
|
void | do_write () |
|
void | fail (const boost::beast::error_code &ec) |
|
◆ close_handler
◆ connect_handler
◆ fail_handler
◆ message_handler
◆ websocket_client() [1/2]
websocket_client::websocket_client |
( |
| ) |
|
◆ ~websocket_client()
websocket_client::~websocket_client |
( |
| ) |
|
◆ websocket_client() [2/2]
◆ close()
void websocket_client::close |
( |
| ) |
|
◆ connect()
void websocket_client::connect |
( |
const std::string & |
uri | ) |
|
◆ do_read()
void websocket_client::do_read |
( |
| ) |
|
|
private |
◆ do_write()
void websocket_client::do_write |
( |
| ) |
|
|
private |
◆ fail()
void websocket_client::fail |
( |
const boost::beast::error_code & |
ec | ) |
|
|
private |
◆ on_close()
void websocket_client::on_close |
( |
const boost::beast::error_code & |
ec | ) |
|
|
private |
◆ on_connect()
void websocket_client::on_connect |
( |
const boost::beast::error_code & |
ec | ) |
|
|
private |
◆ on_handshake()
void websocket_client::on_handshake |
( |
const boost::beast::error_code & |
ec | ) |
|
|
private |
◆ on_read()
void websocket_client::on_read |
( |
const boost::beast::error_code & |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ on_resolve()
void websocket_client::on_resolve |
( |
const boost::beast::error_code & |
ec, |
|
|
boost::asio::ip::tcp::resolver::results_type |
results |
|
) |
| |
|
private |
◆ on_ssl_handshake()
void websocket_client::on_ssl_handshake |
( |
const boost::beast::error_code & |
ec | ) |
|
|
private |
◆ on_write()
void websocket_client::on_write |
( |
const boost::beast::error_code & |
ec, |
|
|
std::size_t |
bytes_transferred |
|
) |
| |
|
private |
◆ operator=()
◆ run()
void websocket_client::run |
( |
| ) |
|
◆ send()
void websocket_client::send |
( |
const std::string & |
message | ) |
|
◆ set_close_handler()
◆ set_connect_handler()
◆ set_fail_handler()
◆ set_message_handler()
◆ stop()
void websocket_client::stop |
( |
| ) |
|
◆ buffer_
boost::beast::flat_buffer websocket_client::buffer_ |
|
private |
◆ close_handler_
◆ connect_handler_
◆ fail_handler_
◆ host_
std::string websocket_client::host_ |
|
private |
◆ ioc_
boost::asio::io_context websocket_client::ioc_ |
|
private |
◆ is_ssl_
bool websocket_client::is_ssl_ |
|
private |
◆ message_handler_
◆ message_queue_
◆ path_
std::string websocket_client::path_ |
|
private |
◆ port_
std::string websocket_client::port_ |
|
private |
◆ resolver_
boost::asio::ip::tcp::resolver websocket_client::resolver_ |
|
private |
◆ ssl_ctx_
boost::asio::ssl::context websocket_client::ssl_ctx_ |
|
private |
◆ writing_
bool websocket_client::writing_ {false} |
|
private |
◆ ws_stream_
std::unique_ptr<boost::beast::websocket::stream<boost::asio::ip::tcp::socket> > websocket_client::ws_stream_ |
|
private |
◆ wss_stream_
std::unique_ptr<boost::beast::websocket::stream<boost::beast::ssl_stream<boost::asio::ip::tcp::socket> > > websocket_client::wss_stream_ |
|
private |
The documentation for this class was generated from the following files: