/ fm / liveswitch / Xhr
Class: Xhr
fm.liveswitch.Xhr
Table of contents
Constructors
Properties
Methods
- getTypeString
- failureHandler
- getDefaultWithCredentials
- getDisableBinary
- handler
- initialize
- send
- setDefaultWithCredentials
- setDisableBinary
- successHandler
Constructors
constructor
+ new Xhr(): Xhr
Returns: Xhr
Properties
__initialized
▪ Private
Static
__initialized: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:219
_count
▪ Private
Static
_count: number= 0
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:8
_current
▪ Private
Static
_current: Hash<string, XMLHttpRequest>
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:9
_defaultWithCredentials
▪ Private
Static
_defaultWithCredentials: boolean= true
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:11
_disableBinary
▪ Private
Static
_disableBinary: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:10
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:5
failureHandler
▸ Private
Static
failureHandler(options
: XhrSendOptions, message
: any): void
Parameters:
Name | Type |
---|---|
options |
XhrSendOptions |
message |
any |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:27
getDefaultWithCredentials
▸ Static
getDefaultWithCredentials(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:24
getDisableBinary
▸ Static
getDisableBinary(): boolean
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:15
handler
▸ Private
Static
handler(options
: XhrSendOptions, x
: XMLHttpRequest): void
Parameters:
Name | Type |
---|---|
options |
XhrSendOptions |
x |
XMLHttpRequest |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:77
initialize
▸ Static
initialize(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:220
send
▸ Static
send(options
: XhrSendOptions): boolean
Parameters:
Name | Type |
---|---|
options |
XhrSendOptions |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:87
setDefaultWithCredentials
▸ Static
setDefaultWithCredentials(defaultWithCredentials
: boolean): void
Parameters:
Name | Type |
---|---|
defaultWithCredentials |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:21
setDisableBinary
▸ Static
setDisableBinary(disableBinary
: boolean): void
Parameters:
Name | Type |
---|---|
disableBinary |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:12
successHandler
▸ Private
Static
successHandler(options
: XhrSendOptions, x
: XMLHttpRequest): void
Parameters:
Name | Type |
---|---|
options |
XhrSendOptions |
x |
XMLHttpRequest |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Xhr.ts:35