CloseCodes
object CloseCodes
Socket close codes the gateway uses.
Properties
Link copied to clipboard
Auth refused, or the session was revoked: bootstrap a fresh visitor.
Link copied to clipboard
No auth frame within 5 s of connecting: reconnect, auth first.
Link copied to clipboard
The SDK closed the socket because building the auth payload failed.
Link copied to clipboard
The client's protocol version is older than the gateway supports: stop, ask for an update.
Link copied to clipboard
A session frame carried a new visitor token; reconnect at once.