rippled
|
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. More... | |
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. More... | |
Public Attributes | |
std::shared_ptr< void > | appDefined |
Definition at line 107 of file WSSession.h.
|
virtualdefault |
|
default |
|
delete |
|
pure virtual |
|
pure virtual |
Implemented in ripple::BaseWSPeer< Handler, Impl >.
|
pure virtual |
Implemented in ripple::BaseWSPeer< Handler, Impl >.
|
pure virtual |
Implemented in ripple::BaseWSPeer< Handler, Impl >.
|
pure virtual |
Send a WebSockets message.
Implemented in ripple::BaseWSPeer< Handler, Impl >, ripple::BaseWSPeer< Handler, SSLWSPeer< Handler > >, and ripple::BaseWSPeer< Handler, PlainWSPeer< 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, SSLWSPeer< Handler > >, and ripple::BaseWSPeer< Handler, PlainWSPeer< Handler > >.
std::shared_ptr<void> ripple::WSSession::appDefined |
Definition at line 109 of file WSSession.h.