public WebsocketDisconnectEventArgs(WebsocketEventType websocketEventType, string reason, bool wasClean) : base(websocketEventType) { Reason = reason; WasClean = wasClean; }
public WebsocketMessageEventArgs(WebsocketEventType websocketEventType, string data, bool isBinary, bool isPing, bool isText, byte[] rawData) : base(websocketEventType) { Data = data; IsBinary = isBinary; IsPing = isPing; IsText = isText; RawData = rawData; }
public WebsocketErrorEventArgs(WebsocketEventType websocketEventType, string message) : base(websocketEventType) { Message = message; }
public WebsocketBaseEventArgs(WebsocketEventType websocketEventType) { WebsocketEventType = websocketEventType; }
public WebsocketOpenEventArgs(WebsocketEventType websocketEventType) : base(websocketEventType) { }