|
Nakama .NET Client 3.17.0
The official Nakama and Satori .NET client.
|
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.