Class WebSocketTransferFactory
Creates implementations of WebSocketWebRequestTransfer.
Inheritance
System.Object
WebSocketTransferFactory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class WebSocketTransferFactory
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 |