Enumeration: CloseCode
common.CloseCode
graphql-ws
expected and standard close codes of the GraphQL over WebSocket Protocol.
Enumeration Members
BadRequest
• BadRequest = 4400
Defined in
BadResponse
• BadResponse = 4004
Defined in
ConnectionAcknowledgementTimeout
• ConnectionAcknowledgementTimeout = 4504
Defined in
ConnectionInitialisationTimeout
• ConnectionInitialisationTimeout = 4408
Defined in
Forbidden
• Forbidden = 4403
Defined in
InternalClientError
• InternalClientError = 4005
Defined in
InternalServerError
• InternalServerError = 4500
Defined in
SubprotocolNotAcceptable
• SubprotocolNotAcceptable = 4406
Defined in
SubscriberAlreadyExists
• SubscriberAlreadyExists = 4409
Subscriber distinction is very important
Defined in
TooManyInitialisationRequests
• TooManyInitialisationRequests = 4429
Defined in
Unauthorized
• Unauthorized = 4401
Tried subscribing before connect ack