[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.WebSocketFactory

WebSocketFactory Delegate

Delegate for creation of WebSocket instances.

Namespace: GrapeCity.Documents.Html
Assembly: DS.Documents.Html.dll
Syntax
public delegate Task<WebSocket> WebSocketFactory(Uri url)
Public Delegate Function WebSocketFactory(url As Uri) As Task(Of WebSocket)
Parameters
Type Name Description
Uri url

A browser WebSocket endpoint to connect to.

Returns
Type Description
Task<WebSocket>

A Task<TResult> instance for the asynchronous socket create and connect operation.