igpapi — Instagram private API Simulator for Node.js (API reference) 4.19.0
    Preparing search index...

    Function transportOptionsOf

    • Resolve the native transport options a request declares in RequestContext.features. tigonRetry: false suppresses the Rust-owned x-tigon-is-retry header; the analytics.apiAnalytics: false facet suppresses the transport's URL-derived default friendly name; appNetSession: false suppresses the x-fb-appnetsession-* pair; graphqlClientLibrary: false suppresses the injected x-graphql-client-library. Every other request keeps the defaults.

      A request of a system HTTP stack (transport.clientProfile) carries the profile and none of the Tigon options: the transport refuses them on those stacks, and the stack writes its own framing, connection and encoding headers.

      Parameters

      Returns Pick<
          TransportRequest,
          | "tigonRetryHeader"
          | "friendlyNameDefault"
          | "appNetSessionHeader"
          | "graphqlClientLibraryDefault"
          | "clientProfile",
      >