Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GraphQLWSHandler

A handler for the GraphQL over WebSocket Protocol.

Hierarchy

  • GraphQLWSHandler

Implements

  • any
  • any

Index

Methods

beforeExecute

connectionInitHandler

  • Customize the connection init . This handler will be called when the message is received.

    Parameters

    Returns GraphQLWSHandler

handle

  • handle(arg0: RoutingContext): void
  • Parameters

    • arg0: RoutingContext

    Returns void

messageHandler

  • Customize the message . This handler will be called for each Message received.

    Parameters

    Returns GraphQLWSHandler

Static create

  • Create a new GraphQLWSHandler that will use the provided graphQL object to execute requests.

    The handler will be configured with the default GraphQLWSOptions.

    Parameters

    Returns GraphQLWSHandler

  • Create a new GraphQLWSHandler that will use the provided graphQL object to execute requests.

    The handler will be configured with the given options.

    Parameters

    Returns GraphQLWSHandler

Generated using TypeDoc