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

    Interface AndroidHeaderValueContext

    Read-only view a header value provider renders from: the classified request (the resolver's three inputs plus the stack), the raw request, and the device/session/application state at render time.

    interface AndroidHeaderValueContext {
        application: Readonly<MobileApplicationState>;
        bloksPrismLoaded: boolean;
        context: RequestContext;
        device: Readonly<MobileDeviceState>;
        endpointKind: RequestEndpointKind;
        features: RequestFeatures;
        identity: RequestIdentity;
        navigation: NavigationWireValues;
        networkSession: Readonly<AndroidNetworkSessionState>;
        nowMs: number;
        pigeonSessionId: string;
        processStartedWithSession: boolean;
        request: HttpRequest;
        saltIds: string | undefined;
        session: Readonly<MobileSessionState>;
        stack: AndroidRequestStack;
        tasosTdConfig?: string;
        throttling?: AndroidThrottlingHeaders;
        userAgent: string;
    }
    Index

    Properties

    application: Readonly<MobileApplicationState>
    bloksPrismLoaded: boolean

    Whether this app process has read its Bloks prism configuration (MobileProcessBloksPrism): the platform renders the neutral control palette until it has.

    The request context as declared by the request builder.

    device: Readonly<MobileDeviceState>
    endpointKind: RequestEndpointKind
    features: RequestFeatures

    Resolved features: edge-derived defaults merged with the declared ones.

    identity: RequestIdentity

    Resolved identity (analytics requests resolve to anonymous).

    The navigation's wire values at render time (NavigationWire).

    networkSession: Readonly<AndroidNetworkSessionState>

    This process's own network session (AndroidNetworkSession), absent until the app opens one.

    nowMs: number

    Render time in epoch milliseconds.

    pigeonSessionId: string

    Pigeon session id of the header layer (stable for the app-start window).

    processStartedWithSession: boolean

    The one process fact the whole device/network header set reads: whether this app process began with a stored session (MobileProcessStart). A process that began logged out (the 448 post-login process and the 451 launch) sends none of x-ig-device-timezone, x-ig-device-languages, x-fb-network-properties, x-ig-last-connection-type or the x-fb-session-* pair, while every process that began with a stored session does; the headers are absent by state otherwise.

    request: HttpRequest
    saltIds: string | undefined

    x-ig-salt-ids of the user flows running at render time (MobileUserFlows); absent when none is sent.

    session: Readonly<MobileSessionState>
    tasosTdConfig?: string

    The build's x-fb-tasos-td-config mobile-config string at render time (AndroidTasosTdConfigParam, read through the MobileConfig model when the request renders): absent when the platform registered no declaration and empty when the account has no stored value — a line of the header is present only while it is non-empty.

    throttling?: AndroidThrottlingHeaders

    The throttling detector's report at render time (AndroidThrottlingDetector): absent until the process's first throttling answer and in a process whose CDN sends none.

    userAgent: string