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

    Interface HttpRequestRenderer

    interface HttpRequestRenderer {
        licenceConfirmed?: () => Promise<void>;
        renderRequest: (
            options: {
                appNetSessionHeader?: boolean;
                body?: Buffer<ArrayBufferLike>;
                bodyWrites?: Buffer<ArrayBufferLike>[];
                clientProfile?: ClientProfile;
                friendlyNameDefault?: boolean;
                graphqlClientLibraryDefault?: boolean;
                gzip?: boolean;
                headers?: [string, string][];
                method?: string;
                tigonRetryHeader?: boolean;
                timeoutMs?: number;
                url: string;
            },
        ) => string
        | Promise<string>;
    }
    Index

    Properties

    licenceConfirmed?: () => Promise<void>

    The client's confirmation wait, when it has one (the native Client): the render layer asks it before every render, so a licensed renderRequest never runs before the process's licence is confirmed.

    renderRequest: (
        options: {
            appNetSessionHeader?: boolean;
            body?: Buffer<ArrayBufferLike>;
            bodyWrites?: Buffer<ArrayBufferLike>[];
            clientProfile?: ClientProfile;
            friendlyNameDefault?: boolean;
            graphqlClientLibraryDefault?: boolean;
            gzip?: boolean;
            headers?: [string, string][];
            method?: string;
            tigonRetryHeader?: boolean;
            timeoutMs?: number;
            url: string;
        },
    ) => string
    | Promise<string>