---
meta:
 - name: keywords
   description: api typescript node.js documentation GraphQLWSOptions interface
---
# GraphQLWSOptions - @tsed/graphql-ws

## Usage

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

> See [/packages/graphql/graphql-ws/src/GraphQLWSOptions.ts](https://github.com/tsedio/tsed/blob/v8.28.2/packages/graphql/graphql-ws/src/GraphQLWSOptions.ts#L0-L0).

## Overview

```ts
interface GraphQLWSOptions {
    path: string;
    schema: UseServerOptions["schema"];
    wsUseServerOptions?: UseServerOptions;
    wsServerOptions?: WSServerOptions;
}
```

<!-- Members -->

## path

```ts
path: string;
```

## schema

```ts
schema: UseServerOptions["schema"];
```

## wsUseServerOptions

```ts
wsUseServerOptions?: UseServerOptions;
```

## wsServerOptions

```ts
wsServerOptions?: WSServerOptions;
```
