OptionalenableYou can disable the usage of the fetch-multipart-graphql library
entirely, defaulting to a simple fetch POST implementation.
OptionalfetchThe fetch implementation, in case the user needs to override this for SSR
or other purposes. this does not override the fetch-multipart-graphql
default fetch behavior yet.
Optionalinit: RequestInitOptionalinit: RequestInitOptionalheadersRequest headers you can provide statically.
If you enable the request headers editor and the user provides A header you set statically here, it will be overridden by their value.
Optionallegacyalias for legacyWsClient
OptionallegacylegacyWsClient implementation that matches subscriptions-transport-ws signature,
whether via new SubscriptionsClient() itself or another client with a similar signature.
OptionalschemaAn optional custom fetcher specifically for your schema. For most cases
the url and headers property should have you covered.
Optionalsubscriptionurl for websocket subscription requests
url for HTTP(S) requests. required!
OptionalwswsClient implementation that matches ws-graphql signature,
whether via createClient() itself or another client.
OptionalwsWebsockets connection params used when you provide subscriptionUrl. graphql-ws ClientOptions.connectionParams
Options for creating a simple, spec-compliant GraphiQL fetcher