20#ifndef RIPPLE_SERVER_PLAINWSPEER_H_INCLUDED
21#define RIPPLE_SERVER_PLAINWSPEER_H_INCLUDED
23#include <xrpl/server/detail/BaseWSPeer.h>
25#include <boost/beast/core/tcp_stream.hpp>
31template <
class Handler>
44 boost::beast::websocket::stream<socket_type>
ws_;
47 template <
class Body,
class Headers>
52 boost::beast::http::request<Body, Headers>&&
request,
59template <
class Handler>
60template <
class Body,
class Headers>
65 boost::beast::http::request<Body, Headers>&& request,
71 socket.get_executor(),
76 , ws_(
std::move(socket))
A generic endpoint for log messages.
Represents an active WebSocket connection.
http_request_type const & request() const override
Port const & port() const override
boost::asio::basic_waitable_timer< clock_type > waitable_timer
boost::beast::websocket::stream< socket_type > ws_
PlainWSPeer(Port const &port, Handler &handler, endpoint_type remote_address, boost::beast::http::request< Body, Headers > &&request, socket_type &&socket, beast::Journal journal)
boost::asio::ip::tcp::endpoint endpoint_type
boost::system::error_code error_code
boost::beast::tcp_stream socket_type
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Configuration information for a Server listening port.