AboutSupportDeveloper GuideVersion 40.130.101.1

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"
        | "mainFrame"
        | "subFrame"
        | "styleSheet"
        | "script"
        | "image"
        | "xhr"
        | "other";
    status: boolean;
    topic: string;
    type: "resource-response-received";
    uuid: string;
}

Properties

headers: any
httpResponseCode: number
name: string
newUrl: string
originalUrl: string
referrer: string
requestMethod: string
resourceType:
    | "object"
    | "mainFrame"
    | "subFrame"
    | "styleSheet"
    | "script"
    | "image"
    | "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