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.
Will have a value if http response was served from a browser cache.
Promise<null | 'service-worker' | 'disk' | 'prefetch' | 'memory'>
Will have a value if an http error occurred loading this request.
Promise<string | null>
Retrieve the actual headers returned to the client (order and casing is preserved)
Promise<{ [name: string]: string }>
The response url (if redirected).
Promise<string>
ISO formatted date string.
Promise<string>
IPv4/6 and port of remote socket. 192.168.172.2:5001
Promise<string>
Http response status code.
NOTE: this value might be null if no HTTP response occurred, or an error occurred.
Promise<number>
Http response status message.
Promise<string>
Load the underlying buffer returned by this network response.
Promise<Buffer>
Convert the returned resource body to a string.
Promise<string>
Convert the returned resource body into json.
Promise<json>