|
ledger-core
|
#include <WebSocketClient.hpp>
Inheritance diagram for ledger::core::api::WebSocketClient:Public Member Functions | |
| virtual void | connect (const std::string &url, const std::shared_ptr< WebSocketConnection > &connection)=0 |
| virtual void | send (const std::shared_ptr< WebSocketConnection > &connection, const std::string &data)=0 |
| virtual void | disconnect (const std::shared_ptr< WebSocketConnection > &connection)=0 |
A connected client via Web Socket.
|
pure virtual |
Connect to a given URL via a Web Socket connection.
| url,the | URL to connect to , the Web Socket connection to use |
|
pure virtual |
Disconnect a client. , the Web Socket connection to use
|
pure virtual |
Send a message to a given client. , the Web Socket connection to use , the message to send
1.8.13