Public Member Functions | List of all members
NullWsWebApp Class Reference

A WebSocket web application that silently consumes. More...

#include <NullWsWebApp.hpp>

Inheritance diagram for NullWsWebApp:
[legend]
Collaboration diagram for NullWsWebApp:
[legend]

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...
 

Detailed Description

A WebSocket web application that silently consumes.

This web app exists as a default when no WebSocket web application is required.

Member Function Documentation

◆ handleBinaryMessage()

void handleBinaryMessage ( WsSession session,
std::string_view  path 
)
inlineoverridevirtual

Handle received binary data.

Implements WsWebApp.

◆ handleClose()

void handleClose ( WsSession session,
std::string_view  path 
)
inlineoverridevirtual

Handle a received close control message.

Implements WsWebApp.

◆ handlePing()

void handlePing ( WsSession session,
std::string_view  path 
)
inlineoverridevirtual

Handle a received ping control message.

Implements WsWebApp.

◆ handlePong()

void handlePong ( WsSession session,
std::string_view  path 
)
inlineoverridevirtual

Handle a received pong control message.

Implements WsWebApp.

◆ handleTextMessage()

void handleTextMessage ( WsSession session,
std::string_view  path 
)
inlineoverridevirtual

Handle received text data.

Implements WsWebApp.


The documentation for this class was generated from the following file: