Table of Contents

Delegate WebSocketServer.WebSocketOpenedEventhandler

Namespace
System.Net.WebSockets.Server
Assembly
System.Net.WebSockets.dll

Describes the method that will handle the event that's fired when the WebSocket is opened.

public delegate void WebSocketServer.WebSocketOpenedEventhandler(object sender, WebSocketOpenedEventArgs e)

Parameters

sender object

The proximity device that received the message.

e WebSocketOpenedEventArgs

The opened event data that were passed to the event handler.

Extension Methods

Constructors

WebSocketOpenedEventhandler(object, IntPtr)

public WebSocketOpenedEventhandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(object, WebSocketOpenedEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, WebSocketOpenedEventArgs e, AsyncCallback callback, object @object)

Parameters

sender object
e WebSocketOpenedEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(object, WebSocketOpenedEventArgs)

public virtual void Invoke(object sender, WebSocketOpenedEventArgs e)

Parameters

sender object
e WebSocketOpenedEventArgs