rippled
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
xrpl::test::Server_test::TestHandler Struct Reference

Public Member Functions

void onWSMessage (std::shared_ptr< WSSession > session, std::vector< boost::asio::const_buffer > const &)
 
void onClose (Session &session, boost::system::error_code const &)
 
void onStopped (Server &server)
 

Static Public Member Functions

static bool onAccept (Session &session, boost::asio::ip::tcp::endpoint endpoint)
 
static Handoff onHandoff (Session &session, std::unique_ptr< stream_type > const &bundle, http_request_type const &request, boost::asio::ip::tcp::endpoint remote_address)
 
static Handoff onHandoff (Session &session, http_request_type const &request, boost::asio::ip::tcp::endpoint remote_address)
 
static void onRequest (Session &session)
 

Detailed Description

Definition at line 92 of file Server_test.cpp.

Member Function Documentation

◆ onAccept()

static bool xrpl::test::Server_test::TestHandler::onAccept ( Session session,
boost::asio::ip::tcp::endpoint  endpoint 
)
static

Definition at line 95 of file Server_test.cpp.

◆ onHandoff() [1/2]

static Handoff xrpl::test::Server_test::TestHandler::onHandoff ( Session session,
std::unique_ptr< stream_type > const &  bundle,
http_request_type const &  request,
boost::asio::ip::tcp::endpoint  remote_address 
)
static

Definition at line 101 of file Server_test.cpp.

◆ onHandoff() [2/2]

static Handoff xrpl::test::Server_test::TestHandler::onHandoff ( Session session,
http_request_type const &  request,
boost::asio::ip::tcp::endpoint  remote_address 
)
static

Definition at line 111 of file Server_test.cpp.

◆ onRequest()

static void xrpl::test::Server_test::TestHandler::onRequest ( Session session)
static

Definition at line 120 of file Server_test.cpp.

◆ onWSMessage()

void xrpl::test::Server_test::TestHandler::onWSMessage ( std::shared_ptr< WSSession session,
std::vector< boost::asio::const_buffer > const &   
)

Definition at line 134 of file Server_test.cpp.

◆ onClose()

void xrpl::test::Server_test::TestHandler::onClose ( Session session,
boost::system::error_code const &   
)

Definition at line 141 of file Server_test.cpp.

◆ onStopped()

void xrpl::test::Server_test::TestHandler::onStopped ( Server server)

Definition at line 146 of file Server_test.cpp.