[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.WebSocketFactory

WebSocketFactory Delegate

Delegate for creation of WebSocket instances.

Namespace: GrapeCity.Documents.Html
Assembly: GcDocs.Html.dll
Syntax
public delegate Task<WebSocket> WebSocketFactory(Uri url)
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.

Constructors

Name Description
WebSocketFactory(object, IntPtr)

Methods

Name Description
BeginInvoke(Uri, AsyncCallback, object)
EndInvoke(IAsyncResult)
Invoke(Uri)