Skip to content

GraphQLWSOptions

@tsed/graphql-ws

Usage

typescript
import { GraphQLWSOptions } from "@tsed/graphql-ws";

See /packages/graphql/graphql-ws/src/types/GraphQLWSOptions.ts.

Overview

ts
interface GraphQLWSOptions {
    path: string;
    schema: any;
    wsUseServerOptions?: ServerOptions;
    wsServerOptions?: WSServerOptions;
}

path

ts
path: string;

schema

ts
schema: any;

wsUseServerOptions

ts
wsUseServerOptions?: ServerOptions;

wsServerOptions

ts
wsServerOptions?: WSServerOptions;

Released under the MIT License.