Skip to content

RemoteClose

const RemoteClose: object

Defined in: packages/sharding/src/remote-protocol.ts:9

WebSocket close codes used between a coordinator and a host.

readonly AuthFailed: 4401 = 4401

readonly BadRequest: 4400 = 4400

readonly DuplicateHost: 4409 = 4409

readonly HelloTimeout: 4408 = 4408

readonly HostLost: 4504 = 4504

readonly Shutdown: 4500 = 4500

readonly TooManyConnections: 4429 = 4429

readonly UnknownHost: 4410 = 4410

readonly VersionMismatch: 4426 = 4426