|
rippled
|
#include <WSSession.h>


Public Member Functions | |
| virtual | ~WSSession ()=default |
| WSSession ()=default | |
| WSSession (WSSession const &)=delete | |
| WSSession & | operator= (WSSession const &)=delete |
| virtual void | run ()=0 |
| virtual Port const & | port () const =0 |
| virtual http_request_type const & | request () const =0 |
| virtual boost::asio::ip::tcp::endpoint const & | remote_endpoint () const =0 |
| virtual void | send (std::shared_ptr< WSMsg > w)=0 |
| Send a WebSockets message. | |
| virtual void | close ()=0 |
| virtual void | close (boost::beast::websocket::close_reason const &reason)=0 |
| virtual void | complete ()=0 |
| Indicate that the response is complete. | |
Public Attributes | |
| std::shared_ptr< void > | appDefined |
Definition at line 88 of file WSSession.h.
|
virtualdefault |
|
default |
|
delete |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Send a WebSockets message.
Implemented in ripple::BaseWSPeer< Handler, Impl >, ripple::BaseWSPeer< Handler, PlainWSPeer< Handler > >, and ripple::BaseWSPeer< Handler, SSLWSPeer< Handler > >.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Indicate that the response is complete.
The handler should call this when it has completed writing the response.
Implemented in ripple::BaseWSPeer< Handler, Impl >, ripple::BaseWSPeer< Handler, PlainWSPeer< Handler > >, and ripple::BaseWSPeer< Handler, SSLWSPeer< Handler > >.
| std::shared_ptr<void> ripple::WSSession::appDefined |
Definition at line 90 of file WSSession.h.