|
TARAXA
|
#include <ws_server.hpp>

Public Member Functions | |
| std::string | processRequest (const std::string_view &request) override |
| void | triggerTestSubscribtion (unsigned int number) |
| WsSession (tcp::socket &&socket, addr_t node_addr, std::shared_ptr< WsServer > ws_server) | |
Public Member Functions inherited from taraxa::net::WsSession | |
| WsSession (tcp::socket &&socket, addr_t node_addr, std::shared_ptr< WsServer > ws_server) | |
| void | run () |
| void | close (bool normal=true) |
| bool | is_closed () const |
| void | newEthBlock (const Json::Value &payload) |
| void | newDagBlock (const Json::Value &blk) |
| void | newDagBlockFinalized (const Json::Value &payload) |
| void | newPbftBlockExecuted (const Json::Value &payload) |
| void | newPendingTransaction (const Json::Value &payload) |
| void | newPillarBlockData (const Json::Value &payload) |
| void | newLogs (const final_chain::BlockHeader &header, TransactionHashes trx_hashes, const TransactionReceipts &receipts) |
Additional Inherited Members | |
Protected Member Functions inherited from taraxa::net::WsSession | |
| void | handleRequest () |
| void | do_write (std::string &&message) |
Protected Attributes inherited from taraxa::net::WsSession | |
| websocket::stream< beast::tcp_stream > | ws_ |
| std::atomic< int > | subscription_id_ = 0 |
| std::weak_ptr< WsServer > | ws_server_ |
| Subscriptions | subscriptions_ |
|
overridevirtual |
Implements taraxa::net::WsSession.
| void taraxa::net::GraphQlWsSession::triggerTestSubscribtion | ( | unsigned int | number | ) |
|
inlineexplicit |