Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GraphQLWSOptions

Options for configuring the GraphQLWSHandler.

Hierarchy

  • GraphQLWSOptions

Index

Constructors

constructor

Methods

getConnectionInitWaitTimeout

  • getConnectionInitWaitTimeout(): number
  • Set the maximum delay in milliseconds for the client to send the CONNECTION_INIT message. Defaults to 3000.

    Returns number

setConnectionInitWaitTimeout

  • setConnectionInitWaitTimeout(connectionInitWaitTimeout: number): GraphQLWSOptions
  • Set the maximum delay in milliseconds for the client to send the CONNECTION_INIT message. Defaults to 3000.

    Parameters

    • connectionInitWaitTimeout: number

    Returns GraphQLWSOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc