Effective query method for the latest known capabilities, or the explicit override. Use response.method to observe the method of an execution. createTransport always sends mutations through POST.
Optional ReadonlymethodExplicit query method override, or undefined for automatic selection. Custom transports may omit this property when their selection policy is not observable.
OptionalsetOverrides the method for subsequent queries; undefined restores automatic QUERY → POST → GET selection. Queries reject if the override is unavailable after discovery. Mutations still require POST. Optional for custom transports that do not support method selection.
OptionalsubscribeObserve changes to the query method override or discovered capabilities. Read method, methodOverride and supportedMethods after each notification. Listener errors are logged without interrupting execution or other listeners. Returns a function that removes the listener.
Currently available HTTP methods. May change after discovery; an empty list means the endpoint advertises no usable methods.
The endpoint URL this transport sends requests to.
Executes an operation and owns its routing and method safety policy. Custom HTTP transports must prevent mutations over safe methods such as GET and QUERY. GraphiQL delegates operation routing to this method.
Wire-level transport.
send()returns a single Promise for queries and mutations, or an AsyncIterable for subscriptions and incremental delivery (each event/chunk is wrapped in its ownTransportResponse).