On this page

Function: createClient() (client)

createClient (graphql-ws/client): Creates a disposable GraphQL over WebSocket client.

createClient<P>(options): Client

Defined in: src/client.ts:453

Creates a disposable GraphQL over WebSocket client.

Type Parameters

P extends undefined | Record<string, unknown> = undefined | Record<string, unknown>

Parameters

options

ClientOptions<P>

Returns

Client