/ fm / liveswitch / Jsonp
Class: Jsonp
fm.liveswitch.Jsonp
Table of contents
Constructors
Properties
- _callbackCount
- _cb
- _pastScriptFrames
- _scriptFrame
- _scriptFrameDestroyer
- _scriptFrameLoaded
- maxUrlLength
Methods
Constructors
constructor
+ new Jsonp(): Jsonp
Returns: Jsonp
Properties
_callbackCount
▪ Private
Static
_callbackCount: number= 0
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:11
_cb
▪ Private
Static
_cb: Hash<string, Function>
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:12
_pastScriptFrames
▪ Private
Static
_pastScriptFrames: HTMLIFrameElement[]
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:13
_scriptFrame
▪ Private
Static
_scriptFrame: HTMLIFrameElement= null
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:9
_scriptFrameDestroyer
▪ Private
Static
_scriptFrameDestroyer: number= 0
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:14
_scriptFrameLoaded
▪ Private
Static
_scriptFrameLoaded: boolean= false
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:10
maxUrlLength
▪ Static
maxUrlLength: number= 2048
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:8
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:5
callbackExists
▸ Private
Static
callbackExists(callbackName
: string): boolean
Parameters:
Name | Type |
---|---|
callbackName |
string |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:212
cleanup
▸ Private
Static
cleanup(callbackName
: string, useFrame
: boolean): void
Parameters:
Name | Type |
---|---|
callbackName |
string |
useFrame |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:177
failureHandler
▸ Private
Static
failureHandler(options
: JsonpSendOptions, callbackName
: string, message
: string): void
Parameters:
Name | Type |
---|---|
options |
JsonpSendOptions |
callbackName |
string |
message |
string |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:60
getNextCallback
▸ Static
getNextCallback(options
: JsonpSendOptions): string
Parameters:
Name | Type |
---|---|
options |
JsonpSendOptions |
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:15
send
▸ Static
send(options
: JsonpSendOptions): void
Parameters:
Name | Type |
---|---|
options |
JsonpSendOptions |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/Jsonp.ts:69