Document Solutions for PDF
GrapeCity.Documents.Html / GrapeCity.Documents.Html Namespace / WebSocketFactory Delegate
A browser WebSocket endpoint to connect to.

In This Topic
    WebSocketFactory Delegate
    In This Topic
    Delegate for creation of System.Net.WebSockets.WebSocket instances.
    Syntax
    'Declaration
     
    Public Delegate Function WebSocketFactory( _
       ByVal url As System.Uri _
    ) As System.Threading.Tasks.Task(Of WebSocket)
    public delegate System.Threading.Tasks.Task<WebSocket> WebSocketFactory( 
       System.Uri url
    )

    Parameters

    url
    A browser WebSocket endpoint to connect to.

    Return Value

    A System.Threading.Tasks.Task`1 instance for the asynchronous socket create and connect operation.
    See Also