Class WebSocketTransferFactory
Creates implementations of WebSocketWebRequestTransfer.
Inheritance
System.Object
WebSocketTransferFactory
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class WebSocketTransferFactory : object
Properties
CreateWebSocketTransfer
Gets or sets the callback that creates a WebSocket-based transfer class.
Declaration
public static Function1<string, WebSocketTransfer> CreateWebSocketTransfer { get; set; }
Property Value
Type | Description |
---|---|
Function1<System.String, WebSocketTransfer> |
Methods
GetWebSocketTransfer(String)
Gets an instance of the WebSocket-based transfer class.
Declaration
public static WebSocketTransfer GetWebSocketTransfer(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url |
Returns
Type | Description |
---|---|
WebSocketTransfer |