RequestInit

external interface RequestInit (source)

Platform and version requirements: JS

Properties

body

open var body: dynamic

cache

open var cache: RequestCache?

credentials

open var credentials: RequestCredentials?

headers

open var headers: dynamic

integrity

open var integrity: String?

keepalive

open var keepalive: Boolean?

method

open var method: String?

mode

open var mode: RequestMode?

redirect

open var redirect: RequestRedirect?

referrer

open var referrer: String?

referrerPolicy

open var referrerPolicy: dynamic

window

open var window: Any?

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.