Properties
arrayBuffer
arrayBuffer: (() => Promise<ArrayBuffer>)
Type declaration
-
- (): Promise<ArrayBuffer>
-
Returns Promise<ArrayBuffer>
blob
blob: (() => Promise<Blob>)
Type declaration
-
- (): Promise<Blob>
-
Returns Promise<Blob>
blobAndResponse
execute
execute: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
formData
formData: (() => Promise<FormData>)
Type declaration
-
- (): Promise<FormData>
-
Returns Promise<FormData>
formDataAndResponse
form
Data
And
Response
: (() => Promise<[FormData, HttpResponse]>)
getRequest
getRequest: (() => Promise<Request>)
Type declaration
-
- (): Promise<Request>
-
Returns Promise<Request>
json
json: (<T>() => Promise<T>)
Type declaration
-
- <T>(): Promise<T>
-
Returns Promise<T>
response
text
text: (() => Promise<string>)
Type declaration
-
- (): Promise<string>
-
Returns Promise<string>
typedJson
typedJson: (<T>(useTypedField?: boolean) => Promise<T>)
Type declaration
-
- <T>(useTypedField?: boolean): Promise<T>
-
Parameters
-
Optional
useTypedField: boolean
Returns Promise<T>
typedJsonOrNull
typedJsonOrNull: (<T>(useTypedField?: boolean) => Promise<null | T>)
Type declaration
-
- <T>(useTypedField?: boolean): Promise<null | T>
-
Parameters
-
Optional
useTypedField: boolean
Returns Promise<null | T>