Class GraphQLWebSocketServer<TContext>

Type Parameters

  • TContext

Constructors

Properties

graphqlSockets: Set<GraphQLServerWebSocket> = ...
schema: GraphQLSchema

Methods

  • Parameters

    • args: RawExecutionArgs
    • OptionalconnectionInitPayload: null | Record<string, unknown>

    Returns Promise<ExecutionResult<ObjMap<unknown>, ObjMap<unknown>> | AsyncGenerator<ExecutionResult<ObjMap<unknown>, ObjMap<unknown>>, void, void>>

  • Parameters

    Returns Promise<ExecutionResult<ObjMap<unknown>, ObjMap<unknown>> | AsyncGenerator<ExecutionResult<ObjMap<unknown>, ObjMap<unknown>>, void, void>>

  • Parameters

    Returns Promise<ExecutionResult<ObjMap<unknown>, ObjMap<unknown>> | AsyncGenerator<ExecutionResult<ObjMap<unknown>, ObjMap<unknown>>, void, void>>