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

    Variable PublishNetworkStackSampleConst

    PublishNetworkStackSample: Effect<
        { speedKbps: number
        | undefined; stack: MobileNetworkStackSample },
        never,
        MobileSession,
    > = ...

    The session's network measurement an upload's settings report. The sample the headers' speed comes from is the session's one (published by the launch, or carried from the earlier process); a session that holds none yet measures with this upload, as the app's stack does (never replacing a carried one). The stack's own figures are drawn once and stay for the session; this Effect is their only writer.

    It answers the stack and the sample's speed (speedKbps, the number the headers render their speed from; undefined while the sample measures nothing), so an upload's settings read the speed fact itself and never parse the header's formatted string back into a number.