OptionalenableOptionalfetchCustom fetch implementation. Defaults to the global fetch.
OptionalheadersStatic request headers, merged with (and overridable by) per-request headers.
OptionalmethodOverride the HTTP method for queries. When omitted, choose the first available method in QUERY → POST → GET order. An unsupported override rejects execution instead of silently choosing another method. GET encodes queries and variables in the URL without a request body; QUERY and POST use a JSON body. Mutations always require POST. If OPTIONS discovery is unavailable, this method (or POST) is the fallback.
OptionalsubscriptionA pre-built subscription client satisfying the SubscriptionClient
contract — a single iterate(request) method. graphql-ws's and
graphql-sse's createClient() both satisfy it directly, as does any
custom client exposing the same method.
Construct the client yourself and pass it in; the toolkit does not build
one for you. If a subscription is sent without this option configured,
send() throws. See create-transport/README.md for recipes.
OptionalsupportedExplicit supported methods. A nonempty list bypasses automatic discovery. When omitted, the first HTTP execution discovers methods using OPTIONS and Allow, repeating when effective request headers change. If discovery is unavailable, the initial method (normally POST) remains available.
URL for HTTP(S) requests. Required.
Use
multipart/mixedincremental delivery for@defer/@stream. Defaults to true.