Skip to main content

Interface: AppExtraFetchOptions<T>

Type parameters

NameType
Tany

Hierarchy

Properties

auth

Optional auth: AnonymousObject<any>

Inherited from

AppFetchOptions.auth

Defined in

onekijs/packages/onekijs-framework/src/types/fetch.ts:36


body

Optional body: null | BodyInit

A BodyInit object or null to set request's body.

Inherited from

AppFetchOptions.body

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1595


cache

Optional cache: RequestCache

A string indicating how the request will interact with the browser's cache to set request's cache.

Inherited from

AppFetchOptions.cache

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1599


credentials

Optional credentials: RequestCredentials

A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials.

Inherited from

AppFetchOptions.credentials

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1603


delayLoading

Optional delayLoading: number

Inherited from

AppFetchOptions.delayLoading

Defined in

onekijs/packages/onekijs-framework/src/types/fetch.ts:35


fetcher

Optional fetcher: Fetcher<T, any>

Inherited from

AppFetchOptions.fetcher

Defined in

onekijs/packages/onekijs-framework/src/types/fetch.ts:40


headers

Optional headers: AnonymousObject<string>

Inherited from

AppFetchOptions.headers

Defined in

onekijs/packages/onekijs-framework/src/types/fetch.ts:37


integrity

Optional integrity: string

A cryptographic hash of the resource to be fetched by request. Sets request's integrity.

Inherited from

AppFetchOptions.integrity

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1611


keepalive

Optional keepalive: boolean

A boolean to set request's keepalive.

Inherited from

AppFetchOptions.keepalive

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1615


method

Optional method: FetchMethod

Defined in

onekijs/packages/onekijs-framework/src/fetch/typings.ts:11


mode

Optional mode: RequestMode

A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode.

Inherited from

AppFetchOptions.mode

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1623


onError

Optional onError: AppErrorCallback<DefaultBasicError>

Inherited from

AppFetchOptions.onError

Defined in

onekijs/packages/onekijs-framework/src/fetch/typings.ts:5


onSuccess

Optional onSuccess: AppSuccessCallback<T>

Inherited from

AppFetchOptions.onSuccess

Defined in

onekijs/packages/onekijs-framework/src/fetch/typings.ts:6


params

Optional params: AnonymousObject<string>

Inherited from

AppFetchOptions.params

Defined in

onekijs/packages/onekijs-framework/src/types/fetch.ts:38


query

Optional query: AnonymousObject<string>

Inherited from

AppFetchOptions.query

Defined in

onekijs/packages/onekijs-framework/src/types/fetch.ts:39


redirect

Optional redirect: RequestRedirect

A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect.

Inherited from

AppFetchOptions.redirect

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1627


referrer

Optional referrer: string

A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer.

Inherited from

AppFetchOptions.referrer

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1631


referrerPolicy

Optional referrerPolicy: ReferrerPolicy

A referrer policy to set request's referrerPolicy.

Inherited from

AppFetchOptions.referrerPolicy

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1635


signal

Optional signal: null | AbortSignal

An AbortSignal to set request's signal.

Inherited from

AppFetchOptions.signal

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1639


url

Optional url: string

Defined in

onekijs/packages/onekijs-framework/src/fetch/typings.ts:10


window

Optional window: any

Can only be null. Used to disassociate request from any Window.

Inherited from

AppFetchOptions.window

Defined in

oneki.github.io/node_modules/typescript/lib/lib.dom.d.ts:1643