AwaitedDOM/ Request

Properties

.cache
W3C

Needs content.

Type: Promise<RequestCache>

.credentials
W3C

Needs content.

Type: Promise<RequestCredentials>

.destination
W3C

Needs content.

Type: Promise<RequestDestination>

.headers
W3C

Needs content.

Type: Headers

.integrity
W3C

Needs content.

Type: Promise<string>

.isHistoryNavigation
W3C

Needs content.

Type: Promise<boolean>

.isReloadNavigation
W3C

Needs content.

Type: Promise<boolean>

.keepalive
W3C

Needs content.

Type: Promise<boolean>

.method
W3C

Needs content.

Type: Promise<string>

.mode
W3C

Needs content.

Type: Promise<RequestMode>

.redirect
W3C

Needs content.

Type: Promise<RequestRedirect>

.referrer
W3C

Needs content.

Type: Promise<string>

.referrerPolicy
W3C

Needs content.

Type: Promise<ReferrerPolicy>

.url
W3C

Needs content.

Type: Promise<string>

.bodyUsed
W3C

A boolean that indicates whether the body has been read.

Type: Promise<boolean>

Methods

.arrayBuffer()
W3C

Takes a Response stream and reads it to completion. It returns a promise that resolves with an ArrayBuffer.

Returns: Promise<ArrayBuffer>

.json()
W3C

Takes a Response stream and reads it to completion. It returns a promise that resolves with the result of parsing the body text as JSON.

Returns: Promise<any>

.text()
W3C

Takes a Response stream and reads it to completion. It returns a promise that resolves with a string (text). The response is always decoded using UTF-8.

Returns: Promise<string>

Unimplemented Specs

Properties

signalbody

Methods

clone()blob()
formData()

Edit this page on GitHub