|
CoreComponents 4.0.0
A Modern C++ Toolkit
|
WebSocket control frame to request a life-signal from the peer. More...
#include <WebSocketPing>
Public Member Functions | |
| WebSocketPing (const WebSocketFrame &frame) | |
| Interpret frame as WebSocket ping frame. | |
| operator bool () const | |
| Tell if this is a ping frame. | |
| const String & | payload () const |
| Payload data | |
Static Public Member Functions | |
| static WebSocketFrame | createFrame (const String &payload=String{}) |
| Create a WebSocket ping frame. | |
WebSocket control frame to request a life-signal from the peer.
|
explicit |
Interpret frame as WebSocket ping frame.
|
static |
Create a WebSocket ping frame.
|
explicit |
Tell if this is a ping frame.
| const String & payload | ( | ) | const |
Payload data