[]
Delegate for creation of WebSocket instances.
public delegate Task<WebSocket> WebSocketFactory(Uri url)
Public Delegate Function WebSocketFactory(url As Uri) As Task(Of WebSocket)
Type | Name | Description |
---|---|---|
Uri | url | A browser WebSocket endpoint to connect to. |
Type | Description |
---|---|
Task<WebSocket> | A Task<TResult> instance for the asynchronous socket create and connect operation. |