Learn about keep alive support and ping messages with the Flow Socket API

When a connection is made we will automatically disconnect if we do not receive any messages within 50 seconds.

In order to keep the connection live we support a ping message.

{
  "type": "ping"
}
{
  "type": "pong"
}