IPWorks WebSockets 2020 .NET Edition

Questions / Feedback?

Connected Event

Fired when a WebSocket is successfully opened.

Syntax

public event OnConnectedHandler OnConnected;

public delegate void OnConnectedHandler(object sender, WebsocketserverConnectedEventArgs e);

public class WebsocketserverConnectedEventArgs : EventArgs {
  public string ConnectionId { get; }
}
Public Event OnConnected As OnConnectedHandler

Public Delegate Sub OnConnectedHandler(sender As Object, e As WebsocketserverConnectedEventArgs)

Public Class WebsocketserverConnectedEventArgs Inherits EventArgs
  Public ReadOnly Property ConnectionId As String
End Class

Remarks

The Connected event is fired when a WebSocket is successfully opened on a connection.

ConnectionId identifies the connection.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 .NET Edition - Version 20.0 [Build 8155]