Companion

Types

Link copied to clipboard
interface DeleteOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface FetchOptions
Link copied to clipboard
Link copied to clipboard
interface FetchXMLOptions
Link copied to clipboard
interface HeadOptions
Link copied to clipboard
interface OptionsOptions
Link copied to clipboard
interface PatchOptions
Link copied to clipboard
interface PostOptions
Link copied to clipboard
interface PutOptions

Properties

Link copied to clipboard

A resource instance initialized to the current browser location

Link copied to clipboard

Returns true if blobs are supported.

Functions

Link copied to clipboard

Creates a Resource from a URL and calls delete() on it.

Link copied to clipboard
Link copied to clipboard
suspend fun fetch(options: Resource.Companion.FetchOptions): Any?

Creates a Resource from a URL and calls fetch() on it.

Link copied to clipboard

Creates a Resource and calls fetchArrayBuffer() on it.

Link copied to clipboard
Link copied to clipboard

Creates a Resource and calls fetchBlob() on it.

Link copied to clipboard

Creates a Resource and calls fetchImage() on it.

Link copied to clipboard

Creates a Resource and calls fetchJson() on it.

Link copied to clipboard

Creates a Resource from a URL and calls fetchJsonp() on it.

Link copied to clipboard

Creates a Resource and calls fetchText() on it.

Link copied to clipboard

Creates a Resource and calls fetchXML() on it.

Link copied to clipboard
suspend fun head(options: Resource.Companion.HeadOptions): Any?

Creates a Resource from a URL and calls head() on it.

Link copied to clipboard
Link copied to clipboard

Creates a Resource from a URL and calls options() on it.

Link copied to clipboard
Link copied to clipboard
suspend fun patch(options: Resource.Companion.PatchOptions): Any?

Creates a Resource from a URL and calls patch() on it.

Link copied to clipboard
Link copied to clipboard
suspend fun post(options: Resource.Companion.PostOptions): Any?

Creates a Resource from a URL and calls post() on it.

Link copied to clipboard
Link copied to clipboard
suspend fun put(options: Resource.Companion.PutOptions): Any?

Creates a Resource from a URL and calls put() on it.

Link copied to clipboard