Class GraphQLHttpServer<TContext>

Type Parameters

  • TContext

Constructors

Properties

createContext: CreateContextFn<TContext>
schema: GraphQLSchema

Methods

  • Returns ((req: ExpressRequestLike, res: ExpressResponseLike, next: ExpressNextFunctionLike) => Promise<void>)

      • (req, res, next): Promise<void>
      • Parameters

        • req: ExpressRequestLike
        • res: ExpressResponseLike
        • next: ExpressNextFunctionLike

        Returns Promise<void>

  • Parameters

    • req: ExpressRequestLike
    • res: ExpressResponseLike
    • next: ExpressNextFunctionLike

    Returns Promise<void>

  • Returns ((ctx: KoaContextLike, next: KoaNextFunctionLike) => Promise<void>)

      • (ctx, next): Promise<void>
      • Parameters

        • ctx: KoaContextLike
        • next: KoaNextFunctionLike

        Returns Promise<void>