/// <summary>
 /// Handles websocket received messages
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public abstract void OnMessage(object sender, WebSocketMessage e);
Beispiel #2
0
 /// <summary>
 /// Event invocator for the <see cref="Message"/> event
 /// </summary>
 protected virtual void OnMessage(WebSocketMessage e)
 {
     //Logging.Log.Trace("WebSocketWrapper.OnMessage(): " + e.Message);
     Message?.Invoke(this, e);
 }
 /// <summary>
 /// Handles websocket received messages
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected abstract void OnMessage(object sender, WebSocketMessage e);