Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oak_graphql/subscriptions-transport-ws/server.ts>ServerOptions

A simple graphql middleware for oak deno framework.
Latest
interface ServerOptions
import { type ServerOptions } from "https://deno.land/x/oak_graphql@0.6.4/subscriptions-transport-ws/server.ts";

Properties

optional
rootValue: any
optional
schema: any
optional
execute: ExecuteFunction
optional
subscribe: SubscribeFunction
optional
validationRules: Array<(context: any) => any> | ReadonlyArray<any>
optional
onOperation: Function
optional
onOperationComplete: Function
optional
onConnect: Function
optional
onDisconnect: Function
optional
keepAlive: number