module@warp-drive/legacy/adapter/rest @legacy
Interface FetchRequestInit
ts
interface FetchRequestInit extends RequestInit {
method: HTTPMethod;
type: HTTPMethod;
url: string;
}Defined in: warp-drive-packages/legacy/src/adapter/rest.ts:75
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:83
the HTTP method to use
Overrides
RequestInit.method
type
ts
type: HTTPMethod;Defined in: warp-drive-packages/legacy/src/adapter/rest.ts:87
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:79
the url to request