Request
Overview
The Request interface of the Fetch API represents a resource request.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
arrayBuffer
Returns a promise that resolves with an ArrayBuffer representation of the request body.
method arrayBuffer: array of Byte
Byte[] arrayBuffer()
func arrayBuffer() -> Byte...
Byte[] arrayBuffer()
Function arrayBuffer() As Byte()
blob
Returns a promise that resolves with a Blob representation of the request body.
method blob: array of Byte
Byte[] blob()
func blob() -> Byte...
Byte[] blob()
Function blob() As Byte()
bodyUsed
property bodyUsed: Boolean read;
Boolean bodyUsed { get; }
var bodyUsed: Boolean { get{} }
Boolean bodyUsed { __get; }
ReadOnly Property bodyUsed() As Boolean
cache
property cache: dynamic read;
dynamic cache { get; }
var cache: dynamic { get{} }
dynamic cache { __get; }
ReadOnly Property cache() As dynamic
clone
Creates a copy of the current Request object.
method clone: Request
Request clone()
func clone() -> Request
Request clone()
Function clone() As Request
credentials
property credentials: dynamic read;
dynamic credentials { get; }
var credentials: dynamic { get{} }
dynamic credentials { __get; }
ReadOnly Property credentials() As dynamic
destination
property destination: String read;
String destination { get; }
var destination: String { get{} }
String destination { __get; }
ReadOnly Property destination() As String
formData
Returns a promise that resolves with a FormData representation of the request body.
method formData: dynamic
dynamic formData()
func formData() -> dynamic
dynamic formData()
Function formData() As dynamic
headers
property headers: dynamic read;
dynamic headers { get; }
var headers: dynamic { get{} }
dynamic headers { __get; }
ReadOnly Property headers() As dynamic
integrity
property integrity: String read;
String integrity { get; }
var integrity: String { get{} }
String integrity { __get; }
ReadOnly Property integrity() As String
json
Returns a promise that resolves with a JSON representation of the request body.
method json: dynamic
dynamic json()
func json() -> dynamic
dynamic json()
Function json() As dynamic
method
property method: dynamic read;
dynamic method { get; }
var method: dynamic { get{} }
dynamic method { __get; }
ReadOnly Property method() As dynamic
mode
property mode: dynamic read;
dynamic mode { get; }
var mode: dynamic { get{} }
dynamic mode { __get; }
ReadOnly Property mode() As dynamic
redirect
property redirect: String read;
String redirect { get; }
var redirect: String { get{} }
String redirect { __get; }
ReadOnly Property redirect() As String
referrer
property referrer: dynamic read;
dynamic referrer { get; }
var referrer: dynamic { get{} }
dynamic referrer { __get; }
ReadOnly Property referrer() As dynamic
referrerPolicy
property referrerPolicy: dynamic read;
dynamic referrerPolicy { get; }
var referrerPolicy: dynamic { get{} }
dynamic referrerPolicy { __get; }
ReadOnly Property referrerPolicy() As dynamic
text
Returns a promise that resolves with an USVString (text) representation of the request body.
url
bodyUsed
property bodyUsed: Boolean read;
Boolean bodyUsed { get; }
var bodyUsed: Boolean { get{} }
Boolean bodyUsed { __get; }
ReadOnly Property bodyUsed() As Boolean
cache
property cache: dynamic read;
dynamic cache { get; }
var cache: dynamic { get{} }
dynamic cache { __get; }
ReadOnly Property cache() As dynamic
credentials
property credentials: dynamic read;
dynamic credentials { get; }
var credentials: dynamic { get{} }
dynamic credentials { __get; }
ReadOnly Property credentials() As dynamic
destination
property destination: String read;
String destination { get; }
var destination: String { get{} }
String destination { __get; }
ReadOnly Property destination() As String
headers
property headers: dynamic read;
dynamic headers { get; }
var headers: dynamic { get{} }
dynamic headers { __get; }
ReadOnly Property headers() As dynamic
integrity
property integrity: String read;
String integrity { get; }
var integrity: String { get{} }
String integrity { __get; }
ReadOnly Property integrity() As String
method
property method: dynamic read;
dynamic method { get; }
var method: dynamic { get{} }
dynamic method { __get; }
ReadOnly Property method() As dynamic
mode
property mode: dynamic read;
dynamic mode { get; }
var mode: dynamic { get{} }
dynamic mode { __get; }
ReadOnly Property mode() As dynamic
redirect
property redirect: String read;
String redirect { get; }
var redirect: String { get{} }
String redirect { __get; }
ReadOnly Property redirect() As String
referrer
property referrer: dynamic read;
dynamic referrer { get; }
var referrer: dynamic { get{} }
dynamic referrer { __get; }
ReadOnly Property referrer() As dynamic
referrerPolicy
property referrerPolicy: dynamic read;
dynamic referrerPolicy { get; }
var referrerPolicy: dynamic { get{} }
dynamic referrerPolicy { __get; }
ReadOnly Property referrerPolicy() As dynamic
url
arrayBuffer
Returns a promise that resolves with an ArrayBuffer representation of the request body.
method arrayBuffer: array of Byte
Byte[] arrayBuffer()
func arrayBuffer() -> Byte...
Byte[] arrayBuffer()
Function arrayBuffer() As Byte()
blob
Returns a promise that resolves with a Blob representation of the request body.
method blob: array of Byte
Byte[] blob()
func blob() -> Byte...
Byte[] blob()
Function blob() As Byte()
clone
Creates a copy of the current Request object.
method clone: Request
Request clone()
func clone() -> Request
Request clone()
Function clone() As Request
formData
Returns a promise that resolves with a FormData representation of the request body.
method formData: dynamic
dynamic formData()
func formData() -> dynamic
dynamic formData()
Function formData() As dynamic
json
Returns a promise that resolves with a JSON representation of the request body.
method json: dynamic
dynamic json()
func json() -> dynamic
dynamic json()
Function json() As dynamic
text
Returns a promise that resolves with an USVString (text) representation of the request body.