import { SubscriptionServer } from "https://deno.land/x/oak_graphql@0.6.4/subscriptions-transport-ws/server.ts";
Constructors
new
SubscriptionServer(options: ServerOptions)Properties
private
optional
execute: ExecuteFunctionprivate
optional
subscribe: SubscribeFunctionMethods
private
loadExecutor(options: ServerOptions)private
onClose(connectionContext: ConnectionContext)private
onMessage(connectionContext: ConnectionContext)private
sendError(connectionContext: ConnectionContext,
opId: string,
errorPayload: any,
overrideDefaultErrorType?: string,
private
sendKeepAlive(connectionContext: ConnectionContext): voidprivate
sendMessage(): voidprivate
unsubscribe(connectionContext: ConnectionContext, opId: string)close(): void
Static Methods
create(options: ServerOptions)