interface _OnRequestDetails {
    cookieStoreId?: string;
    documentUrl?: string;
    frameId: number;
    fromCache: boolean;
    incognito?: boolean;
    method: string;
    originUrl?: string;
    parentFrameId: number;
    requestHeaders?: HttpHeaders;
    requestId: string;
    tabId: number;
    thirdParty: boolean;
    timeStamp: number;
    type: browser.webRequest.ResourceType;
    url: string;
    urlClassification: UrlClassification;
}
Index
cookieStoreId?: string

The cookie store ID of the contextual identity.

documentUrl?: string

URL of the page into which the requested resource will be loaded.

frameId: number

The value 0 indicates that the request happens in the main frame; a positive value indicates the ID of a subframe in which the request happens. If the document of a (sub-)frame is loaded (type is main_frame or sub_frame), frameId indicates the ID of this frame, not the ID of the outer frame. Frame IDs are unique within a tab.

fromCache: boolean

Indicates if this response was fetched from disk cache.

incognito?: boolean

True for private browsing requests.

method: string

Standard HTTP method.

originUrl?: string

URL of the resource that triggered this request.

parentFrameId: number

ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.

requestHeaders?: HttpHeaders

The HTTP request headers that are going to be sent out with this request.

requestId: string

The ID of the request. Request IDs are unique within a browser session. As a result, they could be used to relate different events of the same request.

tabId: number

The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.

thirdParty: boolean

Indicates if this request and its content window hierarchy is third party.

timeStamp: number

The time when this signal is triggered, in milliseconds since the epoch.

How the requested resource will be used.

url: string
urlClassification: UrlClassification

Url classification if the request has been classified.