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, std::shared_ptr< WsServer > ws_server) | |
![]() | |
WsSession (tcp::socket &&socket, 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 | |
![]() | |
void | handleRequest () |
void | do_write (std::string &&message) |
![]() | |
websocket::stream< beast::tcp_stream > | ws_ |
std::atomic< int > | subscription_id_ = 0 |
std::weak_ptr< WsServer > | ws_server_ |
Subscriptions | subscriptions_ |
logger::Logger | logger_ |
|
overridevirtual |
Implements taraxa::net::WsSession.
void taraxa::net::GraphQlWsSession::triggerTestSubscribtion | ( | unsigned int | number | ) |
|
inlineexplicit |