Properties
Optional
abort
abort?: any
Optional
data
data?: Document | BodyInit
dump
dump: ((data) => string)
Type declaration
- (data): string
Returns string
Optional
events
events?: {
[key: string]: (() => void);
}
Type declaration
[key: string]: (() => void)
headers
headers: {
[key: string]: string;
}
method
method: keyof Methods
Optional
params
params?: string | Record<string, string> | URLSearchParams | string[][]
promise
promise: ((fn) => Promise<unknown>)
Type declaration
- (fn): Promise<unknown>
Parameters
fn: (() => Promise<unknown>)
- (): Promise<unknown>
Returns Promise<unknown>
Returns Promise<unknown>
Optional
raw
raw?: boolean
withCredentials
withCredentials: boolean
xmlHttpRequest
xmlHttpRequest: (() => XMLHttpRequest)
Type declaration
- (): XMLHttpRequest
Returns XMLHttpRequest