Skip to Content
GraphQL Tools
DocumentationAPIExecutorslegacy-wssrcinterfacesLegacyWSExecutorOpts

Interface: LegacyWSExecutorOpts

Defined in: packages/executors/legacy-ws/src/index.ts:22

Properties

connectionParams?

optional connectionParams?: Record<string, unknown> | (() => Record<string, unknown>)

Defined in: packages/executors/legacy-ws/src/index.ts:23


headers?

optional headers?: Record<string, any>

Defined in: packages/executors/legacy-ws/src/index.ts:24


rejectUnauthorized?

optional rejectUnauthorized?: boolean

Defined in: packages/executors/legacy-ws/src/index.ts:30

Whether to reject unauthorized TLS certificates when connecting over wss://. Defaults to true. Set to false only for trusted environments that use self-signed certificates (for example local development).