# Functions

Handle will handle the websocket subscription.
HandleWithOptions will handle the websocket connection.
NewClient will create a new websocket subscription client.
NewCloseReason is used to compose a close frame with code and reason message.
NewProtocolGraphQLTransportWSHandler creates a new ProtocolGraphQLTransportWSHandler with default options.
NewProtocolGraphQLTransportWSHandlerWithOptions creates a new ProtocolGraphQLTransportWSHandler.
NewProtocolGraphQLWSHandler creates a new ProtocolGraphQLWSHandler with default options.
NewProtocolGraphQLWSHandlerWithOptions creates a new ProtocolGraphQLWSHandler.
WithCustomClient is a function that set a custom transport client for the websocket handler.
WithCustomConnectionInitTimeOut is a function that sets a custom connection init time out.
WithCustomKeepAliveInterval is a function that sets a custom keep-alive interval for the websocket handler.
WithCustomReadErrorTimeOut is a function that sets a custom read error time out for the websocket handler.
WithCustomSubscriptionEngine is a function that sets a custom subscription engine for the websocket handler.
WithCustomSubscriptionUpdateInterval is a function that sets a custom subscription update interval for the websocket handler.
WithInitFunc is a function that sets the init function for the websocket handler.
WithLogger is a function that sets a logger for the websocket handler.
WithProtocol is a function that sets the protocol.
WithProtocolFromRequestHeaders is a function that sets the protocol based on the request headers.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Client is an actual implementation of the subscription client interface.
GraphQLTransportWSEventHandler can be used to handle subscription events and forward them to a GraphQLTransportWSMessageWriter.
GraphQLTransportWSMessage is a struct that can be (de)serialized to graphql-transport-ws message format.
GraphQLTransportWSMessageReader can be used to read graphql-transport-ws messages.
GraphQLTransportWSMessageSubscribePayload is a struct that can be (de)serialized to graphql-transport-ws message payload format.
GraphQLTransportWSMessageWriter can be used to write graphql-transport-ws messages to a transport client.
GraphQLWSMessage is a struct that can be (de)serialized to graphql-ws message format.
GraphQLWSMessageReader can be used to read graphql-ws messages.
GraphQLWSMessageWriter can be used to write graphql-ws messages to a transport client.
GraphQLWSWriteEventHandler can be used to handle subscription events and forward them to a GraphQLWSMessageWriter.
HandleOptions can be used to pass options to the websocket handler.
ProtocolGraphQLTransportWSHandler is able to handle the graphql-transport-ws protocol.
ProtocolGraphQLTransportWSHandlerOptions can be used to provide options to the graphql-transport-ws protocol handler.
ProtocolGraphQLWSHandler is able to handle the graphql-ws protocol.
ProtocolGraphQLWSHandlerOptions can be used to provide options to the graphql-ws protocol handler.

# Type aliases

CloseReason is type that is used to provide a close reason to Client.DisconnectWithReason.
CompiledCloseReason is a pre-compiled close reason to be provided to Client.DisconnectWithReason.
GraphQLTransportWSMessageType is a type that defines graphql-transport-ws message type names.
GraphQLWSMessageType is a type that defines graphql-ws message type names.
HandleOptionFunc can be used to define option functions.
InitFunc is called when the server receives connection init message from the client.
InitPayload is a structure that is parsed from the websocket init message payload.
Protocol defines the protocol names as type.