Documentation
Enums
common.CloseCode

Enumeration: CloseCode

common.CloseCode

graphql-ws expected and standard close codes of the GraphQL over WebSocket Protocol.

Enumeration Members

BadRequest

BadRequest = 4400

Defined in

src/common.ts:32


BadResponse

BadResponse = 4004

Defined in

src/common.ts:33


ConnectionAcknowledgementTimeout

ConnectionAcknowledgementTimeout = 4504

Defined in

src/common.ts:39


ConnectionInitialisationTimeout

ConnectionInitialisationTimeout = 4408

Defined in

src/common.ts:38


Forbidden

Forbidden = 4403

Defined in

src/common.ts:36


InternalClientError

InternalClientError = 4005

Defined in

src/common.ts:31


InternalServerError

InternalServerError = 4500

Defined in

src/common.ts:30


SubprotocolNotAcceptable

SubprotocolNotAcceptable = 4406

Defined in

src/common.ts:37


SubscriberAlreadyExists

SubscriberAlreadyExists = 4409

Subscriber distinction is very important

Defined in

src/common.ts:41


TooManyInitialisationRequests

TooManyInitialisationRequests = 4429

Defined in

src/common.ts:42


Unauthorized

Unauthorized = 4401

Tried subscribing before connect ack

Defined in

src/common.ts:35