AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface ResourceResponseReceivedEvent

    Generated when an HTTP resource request has received response details.

    interface ResourceResponseReceivedEvent {
        headers: any;
        httpResponseCode: number;
        name: string;
        newUrl: string;
        originalUrl: string;
        referrer: string;
        requestMethod: string;
        resourceType:
            | "object"
            | "image"
            | "mainFrame"
            | "subFrame"
            | "styleSheet"
            | "script"
            | "xhr"
            | "other";
        status: boolean;
        topic: string;
        type: "resource-response-received";
        uuid: string;
    }
    Index
    headers: any
    httpResponseCode: number
    name: string
    newUrl: string
    originalUrl: string
    referrer: string
    requestMethod: string
    resourceType:
        | "object"
        | "image"
        | "mainFrame"
        | "subFrame"
        | "styleSheet"
        | "script"
        | "xhr"
        | "other"
    status: boolean
    topic: string

    The "kebab-case" classname of the emitter that raised the event.

    OpenFin.Frame is represented as iframe.

    type: "resource-response-received"

    The type of event that was raised. Equal to the typename of the event payload in "kebab case".

    Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

    uuid: string