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: UseServerOptions["schema"];
wsUseServerOptions?: UseServerOptions;
wsServerOptions?: WSServerOptions;
}
path
ts
path: string;
schema
ts
schema: UseServerOptions["schema"];
wsUseServerOptions
ts
wsUseServerOptions?: UseServerOptions;
wsServerOptions
ts
wsServerOptions?: WSServerOptions;