GraphiQL API Documentation
    Preparing search index...

    Function createTransport

    • Create a Transport: the wire-level primitive that owns the request and surfaces structured response metadata.

      • Queries / mutations: send() returns Promise<TransportResponse> when incremental delivery is off, or an AsyncIterable<TransportResponse> (one chunk per payload) when it is on.
      • Subscriptions: send() returns an AsyncIterable<TransportResponse>, one event at a time. A subscriptionClient must be configured; the toolkit does not construct one for you.

      Parameters

      Returns Transport