Properties
DEFAULT_PARAMS
DEFAULT_PARAMS: { autoStart: boolean; body: any; contentType: boolean; contentTypeDetermination: boolean; forceDesktopMode: boolean; headers: any[]; method: string; nameCallback: (name: any) => any; nativeFallbackOnError: boolean; timeout: number; withCredentials: boolean } = ...
Type declaration
-
autoStart: boolean
-
body: any
-
contentType: boolean
-
contentTypeDetermination: boolean
-
forceDesktopMode: boolean
-
headers: any[]
-
method: string
-
nameCallback: (name: any) => any
-
nativeFallbackOnError: boolean
-
timeout: number
-
withCredentials: boolean
contentType
contentType: string | false
contentTypeDetermination
contentTypeDetermination: false | "header" | "signature" | "full"
customFileSignatures
customFileSignatures: {}
Private downloadedFile
downloadedFile: Blob
filename
filename: string
forceDesktopMode
forceDesktopMode: any
includeCredentials
includeCredentials: boolean
Private link
link: HTMLAnchorElement
nameCallback
nameCallback: (name: string) => string
Type declaration
-
-
Parameters
Returns string
nativeFallbackOnError
nativeFallbackOnError: boolean
onProcess
onProcess: (event: ProgressEvent<EventTarget>) => any
Type declaration
-
- (event: ProgressEvent<EventTarget>): any
-
Parameters
-
event: ProgressEvent<EventTarget>
Returns any
onloadstart
onloadstart: () => void
Private request
request: XMLHttpRequest
withCredentials
withCredentials: boolean
文件下载类