WebRequestBodyDetails

@native @JSType
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

Contains the HTTP request body data. Only provided if extraInfoSpec contains 'requestBody'.

Contains the HTTP request body data. Only provided if extraInfoSpec contains 'requestBody'.

Since

Chrome 23.

Inherited fields

val frameId: Int

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.

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.

Inherited from
ResourceRequest
val method: String

Standard HTTP method.

Standard HTTP method.

Inherited from
WebRequestDetails
val parentFrameId: Int

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

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

Inherited from
ResourceRequest
val 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.

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.

Inherited from
ResourceRequest
@JSName("type")
val resourceType: String

How the requested resource will be used. One of: "main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", or "other"

How the requested resource will be used. One of: "main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", or "other"

Inherited from
ResourceRequest
val tabId: Int

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

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

Inherited from
ResourceRequest
val timeStamp: Int

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

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

Inherited from
ResourceRequest
val url: String
Inherited from
ResourceRequest