WebSocket web application that echos messages back to the client. More...
#include <EchoingWsWebApp.hpp>
Public Member Functions | |
void | handleBinaryMessage (WsSession &session, std::string_view path) override |
Handle received binary data. More... | |
void | handleClose (WsSession &session, std::string_view path) override |
Handle a received close control message. More... | |
void | handlePing (WsSession &session, std::string_view path) override |
Handle a received ping control message. More... | |
void | handlePong (WsSession &session, std::string_view path) override |
Handle a received pong control message. More... | |
void | handleTextMessage (WsSession &session, std::string_view path) override |
Handle received text data. More... | |
Public Member Functions inherited from WsWebApp | |
virtual | ~WsWebApp ()=default |
Destroy the WebSocket web application instance. More... | |
WebSocket web application that echos messages back to the client.
This web app exists for testing purposes.
|
overridevirtual |
Handle received binary data.
Implements WsWebApp.
|
overridevirtual |
Handle a received close control message.
Implements WsWebApp.
|
overridevirtual |
Handle a received ping control message.
Implements WsWebApp.
|
overridevirtual |
Handle a received pong control message.
Implements WsWebApp.
|
overridevirtual |
Handle received text data.
Implements WsWebApp.