Enumeration: CloseCode
common.CloseCode
graphql-ws
expected and standard close codes of the GraphQL over WebSocket Protocol (opens in a new tab).
Enumeration Members
BadRequest
• BadRequest = 4400
Defined in
src/common.ts:32 (opens in a new tab)
BadResponse
• BadResponse = 4004
Defined in
src/common.ts:33 (opens in a new tab)
ConnectionAcknowledgementTimeout
• ConnectionAcknowledgementTimeout = 4504
Defined in
src/common.ts:39 (opens in a new tab)
ConnectionInitialisationTimeout
• ConnectionInitialisationTimeout = 4408
Defined in
src/common.ts:38 (opens in a new tab)
Forbidden
• Forbidden = 4403
Defined in
src/common.ts:36 (opens in a new tab)
InternalClientError
• InternalClientError = 4005
Defined in
src/common.ts:31 (opens in a new tab)
InternalServerError
• InternalServerError = 4500
Defined in
src/common.ts:30 (opens in a new tab)
SubprotocolNotAcceptable
• SubprotocolNotAcceptable = 4406
Defined in
src/common.ts:37 (opens in a new tab)
SubscriberAlreadyExists
• SubscriberAlreadyExists = 4409
Subscriber distinction is very important
Defined in
src/common.ts:41 (opens in a new tab)
TooManyInitialisationRequests
• TooManyInitialisationRequests = 4429
Defined in
src/common.ts:42 (opens in a new tab)
Unauthorized
• Unauthorized = 4401
Tried subscribing before connect ack