Properties
Optional
failure
failure?: ((status, statusText, userData) => void)
Type declaration
-
- (status, statusText, userData): void
-
Parameters
-
status: number
-
statusText: string
-
userData: any
Returns void
Optional
headers
headers?: string[]
Optional
method
method?: "GET" | "POST"
Optional
params
params?: any
Optional
progress
progress?: ((length, total, display) => void)
Type declaration
-
- (length, total, display): void
-
Parameters
-
length: number
-
total: number
-
display: string
Returns void
Optional
responseType
responseType?: "text" | "arraybuffer" | "json"
success
success: ((data, userData) => void)
Type declaration
-
- (data, userData): void
-
Returns void
Optional
timeout
timeout?: number
Optional
userData
userData?: any