Properties
listeners
listeners: { error?: (event: ErrorEvent) => void; load?: () => void; progress?: (event: ProgressEvent) => void; uploadProgress?: (event: ProgressEvent) => void }
Type declaration
-
Optional error?: (event: ErrorEvent) => void
-
- (event: ErrorEvent): void
-
Optional load?: () => void
-
Optional progress?: (event: ProgressEvent) => void
-
- (event: ProgressEvent): void
-
Optional uploadProgress?: (event: ProgressEvent) => void
-
- (event: ProgressEvent): void
mockAborted
mockAborted: boolean = false
mockHeaders
mockHeaders: {}
mockResponseHeaders
mockResponseHeaders: string = ""
response
response: any | undefined = undefined
responseText
responseText: string | undefined = undefined
responseType
responseType: string = "text"
responseURL
responseURL: string | null = null
status
status: number = 0
statusText
statusText: string = ""
withCredentials
withCredentials: boolean = false