private void OnClosed(object sender, WebSocketCloseData e) { Log.Trace($"PolygonDataQueueHandler.OnClosed({_securityType}): {e.Reason}"); }
/// <summary> /// Event invocator for the <see cref="Close"/> event /// </summary> protected virtual void OnClose(WebSocketCloseData e) { Log.Trace($"ZerodhaWebSocketClientWrapper.OnClose(): Connection closed (IsOpen:{IsOpen}, State:{_client.State}): wss://ws.kite.trade ..."); Closed?.Invoke(this, e); }
private void HandleClosed(object sender, WebSocketCloseData e) { }
/// <summary> /// Handles <see cref="IWebSocket.Closed"/> event. /// </summary> protected virtual void OnClosed(object sender, WebSocketCloseData e) => SocketClosed?.Invoke();