/ fm / liveswitch / WebSocketTransferFactory
Class: WebSocketTransferFactory
fm.liveswitch.WebSocketTransferFactory
Creates implementations of [[fm.liveswitch.webSocketWebRequestTransfer]].
Table of contents
Constructors
Methods
Constructors
constructor
+ new WebSocketTransferFactory(): WebSocketTransferFactory
Returns: WebSocketTransferFactory
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketTransferFactory.ts:13
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketTransferFactory.ts:9
getCreateWebSocketTransfer
▸ Static
getCreateWebSocketTransfer(): IFunction1<string, WebSocketTransfer>
Gets the callback that creates a WebSocket-based transfer class.
Returns: IFunction1<string, WebSocketTransfer>
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketTransferFactory.ts:39
getWebSocketTransfer
▸ Static
getWebSocketTransfer(url
: string): WebSocketTransfer
Gets an instance of the WebSocket-based transfer class.
Parameters:
Name | Type |
---|---|
url |
string |
Returns: WebSocketTransfer
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketTransferFactory.ts:51
setCreateWebSocketTransfer
▸ Static
setCreateWebSocketTransfer(value
: IFunction1<string, WebSocketTransfer>): void
Sets the callback that creates a WebSocket-based transfer class.
Parameters:
Name | Type |
---|---|
value |
IFunction1<string, WebSocketTransfer> |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/WebSocketTransferFactory.ts:70