Index
Constructors
Public Methods
Constructors
constructor
⊕ new HttpRequest(xhr: XMLHttpRequest
,data?: any
): HttpRequest
Parameters:
- xhr:
XMLHttpRequest
- data:
any
, Optional
Public Methods
abort
▸ abort(): void
Returns void
getData
▸ getData(): any
Returns any
getXMLHttpRequest
▸ getXMLHttpRequest(): XMLHttpRequest
Returns XMLHttpRequest
setHeader
▸ setHeader(name: string
,value: string
): void
Parameters:
- name:
string
- value:
string
Returns void