PING
Since 1.1.0Pub/Sub
Syntax
PING [message]Checks that the server answers. On a subscribed connection it replies the way subscribers' messages are replied, as an array.
Reply
PONG, ormessageif one is given.- On a subscribed connection:
["pong", ""], or["pong", message].
Examples
> PING
PONG
> PING hi
"hi"
> SUBSCRIBE news
...
> PING hi
1) "pong"
2) "hi"