Variable: BridgeCloseCode
constBridgeCloseCode:object
WebSocket close codes (4000-4999 are application-defined); 4001-4009 are v1's.
Type Declaration
FeatureDisabled
readonlyFeatureDisabled:4012
fluidgrids.self-hosted-workers (or a prerequisite) is off for the workspace.
IdleTimeout
readonlyIdleTimeout:4008
ProtocolError
readonlyProtocolError:4004
Also a v2 hello on a RUNNER token, or a v1 hello on a WORKER token.
QueueNotAllowed
readonlyQueueNotAllowed:4011
The token does not allow a task queue the hello names.
QuotaExceeded
readonlyQuotaExceeded:4010
The workspace has no free worker seat (fluidgrids.workers.count).
Replaced
readonlyReplaced:4003
Revoked
readonlyRevoked:4002
ShuttingDown
readonlyShuttingDown:4009
The service is shutting down, or the worker bridge is switched off.
Unauthorized
readonlyUnauthorized:4001