Set a callback to invoke before executing a GraphQL query.
Customize the connection . This handler will be called at the beginning of each websocket connection.
Customize the connection init . This handler will be called when the message is received.
Customize the .
The provided factory
method will be invoked for each incoming GraphQL request.
Customize the end . This handler will be called at the end of each websocket connection.
Customize the passed to the GraphQL execution engine.
The provided factory
method will be invoked for each incoming GraphQL request.
Customize the message . This handler will be called for each ApolloWSMessage received.
Customize the query context object.
The provided factory
method will be invoked for each incoming GraphQL request.
Create a new ApolloWSHandler that will use the provided graphQL
object to execute requests.
The handler will be configured with the default ApolloWSOptions.
Create a new ApolloWSHandler that will use the provided graphQL
object to execute requests.
The handler will be configured with the given options
.
Retrieves the ApolloWSMessage from the .
Generated using TypeDoc
A handler for GraphQL requests sent over Apollo's
subscriptions-transport-ws
transport.