Nakama .NET Client SDK 3.8.0
Nakama .NET Client SDK
|
Ping Pong Manager used to facilitate ping pong WebSocket messages. More...
Public Member Functions | |
Task | SendPing (ArraySegment< byte > payload, CancellationToken cancellation) |
Sends a ping frame. | |
Events | |
EventHandler< PongEventArgs > | Pong |
Raised when a Pong frame is received. | |
Ping Pong Manager used to facilitate ping pong WebSocket messages.
Task Nakama.Ninja.WebSockets.IPingPongManager.SendPing | ( | ArraySegment< byte > | payload, |
CancellationToken | cancellation | ||
) |
Sends a ping frame.
payload | The payload (must be 125 bytes of less) |
cancellation | The cancellation token |
Implemented in Nakama.Ninja.WebSockets.PingPongManager.
EventHandler<PongEventArgs> Nakama.Ninja.WebSockets.IPingPongManager.Pong |
Raised when a Pong frame is received.