ResourceRequest

Resource requests are the raw underlying http request details made to access a resource.

Instances of this class are associated with a resource returned from window.waitForResource or from the initial window document load.

Properties

headers

Retrieve the actual headers sent to the server (order and casing is preserved)

ReturnsPromise<{ [name: string]: string }>

url

The requested url.

ReturnsPromise<string>

timestamp

ISO formatted date string.

ReturnsPromise<string>

method

Http method. Possible values: GET, POST, PUT, DELETE.

ReturnsPromise<string>

postData

Data sent to perform this request (if http post)

ReturnsPromise<string>

Edit this page on GitHub