Centrifugo sends Disconnect Advice in connection close reason (in Close Websocket frame). It's a JSON encoded string which contains 2 fields at moment, for example
{
"reason": "shutting down",
"reconnect": true
}
Client should follow this reconnect advice - if it's false then client should not attempt to reconnect.
Centrifugo sends Disconnect Advice in connection close reason (in Close Websocket frame). It's a JSON encoded string which contains 2 fields at moment, for example
Client should follow this
reconnect
advice - if it'sfalse
then client should not attempt to reconnect.