Skip to main content

Variable: BridgeCloseCode

const BridgeCloseCode: object

WebSocket close codes (4000-4999 are application-defined); 4001-4009 are v1's.

Type Declaration​

FeatureDisabled​

readonly FeatureDisabled: 4012

fluidgrids.self-hosted-workers (or a prerequisite) is off for the workspace.

IdleTimeout​

readonly IdleTimeout: 4008

ProtocolError​

readonly ProtocolError: 4004

Also a v2 hello on a RUNNER token, or a v1 hello on a WORKER token.

QueueNotAllowed​

readonly QueueNotAllowed: 4011

The token does not allow a task queue the hello names.

QuotaExceeded​

readonly QuotaExceeded: 4010

The workspace has no free worker seat (fluidgrids.workers.count).

Replaced​

readonly Replaced: 4003

Revoked​

readonly Revoked: 4002

ShuttingDown​

readonly ShuttingDown: 4009

The service is shutting down, or the worker bridge is switched off.

Unauthorized​

readonly Unauthorized: 4001