xrpld
Loading...
Searching...
No Matches
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 remoteAddress)
static Handoff onHandoff (Session &session, http_request_type const &request, boost::asio::ip::tcp::endpoint remoteAddress)
static void onRequest (Session &session)

Detailed Description

Definition at line 107 of file Server_test.cpp.

Member Function Documentation

◆ onAccept()

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

Definition at line 110 of file Server_test.cpp.

◆ onHandoff() [1/2]

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 remoteAddress )
static

Definition at line 116 of file Server_test.cpp.

◆ onHandoff() [2/2]

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

Definition at line 126 of file Server_test.cpp.

◆ onRequest()

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

Definition at line 135 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 150 of file Server_test.cpp.

◆ onClose()

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

Definition at line 157 of file Server_test.cpp.

◆ onStopped()

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

Definition at line 162 of file Server_test.cpp.