# Functions

NewHandler creates new GraphQL over websocket Handler with default websocket Upgrader.
NewHandlerFunc returns an http.HandlerFunc that supports GraphQL over websockets.
WithContextGenerator specifies that the background context of the websocket connection go routine should be built upon by executing provided context generators.
WithReadLimit limits the maximum size of incoming messages.
WithWriteTimeout sets a timeout for outgoing messages.

# Constants

ProtocolGraphQLWS is websocket subprotocol ID for GraphQL over WebSocket see https://github.com/apollographql/subscriptions-transport-ws.

# Interfaces

A ContextGenerator handles any changes made to the the connection context prior to creating the websocket connection routine.
Option applies configuration when a graphql websocket connection is handled.

# Type aliases

The ContextGeneratorFunc takes a context and the http request it can be used to take values out of the request context and assign them to a new context that will be supplied to the websocket connection go routine and be accessible in the resolver.