Definition at line 22 of file WSClient.cpp.
◆ error_code
◆ WSClientImpl()
◆ ~WSClientImpl()
| ripple::test::WSClientImpl::~WSClientImpl |
( |
| ) |
|
|
override |
◆ getEndpoint()
| static boost::asio::ip::tcp::endpoint ripple::test::WSClientImpl::getEndpoint |
( |
BasicConfig const & |
cfg, |
|
|
bool |
v2 |
|
) |
| |
|
staticprivate |
◆ buffer_string()
template<class ConstBuffers >
| static std::string ripple::test::WSClientImpl::buffer_string |
( |
ConstBuffers const & |
b | ) |
|
|
staticprivate |
◆ cleanup()
| void ripple::test::WSClientImpl::cleanup |
( |
| ) |
|
|
private |
◆ invoke()
Submit a command synchronously.
The arguments to the function and the returned JSON are in a normalized format, the same whether the client is using the JSON-RPC over HTTP/S or WebSocket transport.
- Parameters
-
| cmd | The command to execute |
| params | Json::Value of null or object type with zero or more key/value pairs. |
- Returns
- The server response in normalized format.
Implements ripple::test::AbstractClient.
Definition at line 172 of file WSClient.cpp.
◆ getMsg()
◆ findMsg()
◆ version()
| unsigned ripple::test::WSClientImpl::version |
( |
| ) |
const |
|
overridevirtual |
◆ on_read_msg()
| void ripple::test::WSClientImpl::on_read_msg |
( |
error_code const & |
ec | ) |
|
|
private |
◆ on_read_done()
| void ripple::test::WSClientImpl::on_read_done |
( |
| ) |
|
|
private |
◆ ios_
| boost::asio::io_context ripple::test::WSClientImpl::ios_ |
|
private |
◆ work_
| std::optional<boost::asio::executor_work_guard< boost::asio::io_context::executor_type> > ripple::test::WSClientImpl::work_ |
|
private |
◆ strand_
| boost::asio::strand<boost::asio::io_context::executor_type> ripple::test::WSClientImpl::strand_ |
|
private |
◆ thread_
◆ stream_
| boost::asio::ip::tcp::socket ripple::test::WSClientImpl::stream_ |
|
private |
◆ ws_
| boost::beast::websocket::stream<boost::asio::ip::tcp::socket&> ripple::test::WSClientImpl::ws_ |
|
private |
◆ rb_
| boost::beast::multi_buffer ripple::test::WSClientImpl::rb_ |
|
private |
◆ peerClosed_
| bool ripple::test::WSClientImpl::peerClosed_ = false |
|
private |
◆ b0_
| bool ripple::test::WSClientImpl::b0_ = false |
|
private |
◆ m0_
◆ cv0_
◆ m_
◆ cv_
◆ msgs_
◆ rpc_version_
| unsigned ripple::test::WSClientImpl::rpc_version_ |
|
private |