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

    Interface TransportPlatformDefaults

    What a platform declares about its native transport.

    interface TransportPlatformDefaults {
        appNetSessionByProcessStart: boolean;
        pqcByProcessStart: boolean;
        profile: "android.http" | "ios.http";
        protocolMode: TransportProtocolMode;
    }
    Index

    Properties

    appNetSessionByProcessStart: boolean

    Whether the network-session pair's presence follows the process start on this platform's profile. Android's profile defaults to emitting no pair and is opted in for a process that began with a stored session; iOS's profile emits the pair from its own default, so the process-start fact is not passed there. The flag is the platform's contract, so the iOS behavior is declared rather than left to the profile-name literal.

    pqcByProcessStart: boolean

    Whether the profile takes the app's pqcEnabled (the post-quantum hybrid key share) from the process start: the transport requires pqc for android.http and refuses it for ios.http (@igpapi/transport 0.9.21), and the value is the device's state the transport never picks for the caller — true for a process that began with a stored session, false for a fresh install or a logged-out process. The flag is the platform's contract, so a profile the transport refuses the option for declares it off rather than being recognised by its name.

    profile: "android.http" | "ios.http"

    The transport profile (TLS and QUIC ClientHello, header order) for both channels.

    protocolMode: TransportProtocolMode

    The protocol mode used when the caller sets none.