Skip to content
module@warp-drive/legacy/adapter/rest @legacy

Interface FetchRequestInit

Defined in: warp-drive-packages/legacy/src/adapter/rest.ts:64

The options passed to the native fetch API by RESTAdapter._fetchRequest | _fetchRequest.

Extends

  • RequestInit

Properties

method

ts
method: HTTPMethod;

Defined in: warp-drive-packages/legacy/src/adapter/rest.ts:72

the HTTP method to use

Overrides

ts
RequestInit.method

type

ts
type: HTTPMethod;

Defined in: warp-drive-packages/legacy/src/adapter/rest.ts:76

the HTTP method to use, duplicated for jQuery/fetch option compatibility


url

ts
url: string;

Defined in: warp-drive-packages/legacy/src/adapter/rest.ts:68

the url to request

Released under the MIT License.