threefoldtech / rmb-rs

RMB implementation in rust
Apache License 2.0
3 stars 1 forks source link

App level ping #125

Closed muhamadazmy closed 1 year ago

muhamadazmy commented 1 year ago

The app level ping can be used by clients that can't do websocket control ping messages (looking at you javascript). This way they can still test the relay connection and decide to reconnect later.

By sending an (unsigned) Envelope with the message set to Ping the server will response with another unsigned Envelope with a Pong message.