20 #ifndef RIPPLE_SERVER_PLAINWSPEER_H_INCLUDED
21 #define RIPPLE_SERVER_PLAINWSPEER_H_INCLUDED
23 #include <ripple/server/impl/BaseWSPeer.h>
24 #include <boost/beast/core/tcp_stream.hpp>
29 template <
class Handler>
42 boost::beast::websocket::stream<socket_type>
ws_;
45 template <
class Body,
class Headers>
50 boost::beast::http::request<Body, Headers>&&
request,
57 template <
class Handler>
58 template <
class Body,
class Headers>
63 boost::beast::http::request<Body, Headers>&& request,
69 socket.get_executor(),
74 , ws_(std::move(socket))