/// <summary> /// Called when [alchemy web socket client connected]. /// </summary> /// <param name="context">The context.</param> private void OnAlchemyWebSocketClientConnected(UserContext context) { if (WebSocketConnected != null) { var socket = new AlchemyWebSocket(context, _logger); WebSocketConnected(this, new WebSocketConnectEventArgs { WebSocket = socket, Endpoint = context.ClientAddress.ToString() }); } }