2#include <test/jtx/WSClient.h> 
    4#include <xrpl/beast/unit_test.h> 
   21            jv[
"streams"].
append(
"ledger");
 
 
 
Value & append(Value const &value)
Append value to array at the end.
 
void pass()
Record a successful test condition.
 
virtual Config & config()=0
 
void run() override
Runs the suite.
 
A transaction testing environment.
 
bool close(NetClock::time_point closeTime, std::optional< std::chrono::milliseconds > consensusDelay=std::nullopt)
Close and advance the ledger.
 
void fund(bool setDefaultRipple, STAmount const &amount, Account const &account)
 
@ arrayValue
array value (ordered list)
 
XRP_t const XRP
Converts to XRP Issue or STAmount.
 
std::unique_ptr< WSClient > makeWSClient(Config const &cfg, bool v2, unsigned rpc_version, std::unordered_map< std::string, std::string > const &headers)
Returns a client operating through WebSockets/S.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.