Class WebSocketSession
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Goui
Assembly: Goui.dll
Syntax
public class WebSocketSession : Session
Constructors
| Improve this Doc View SourceWebSocketSession(WebSocket, Element, Boolean, Double, Double, Action<String, Exception>, CancellationToken)
Declaration
public WebSocketSession(WebSocket webSocket, Element element, bool disposeElementAfterSession, double initialWidth, double initialHeight, Action<string, Exception> errorLogger, CancellationToken serverToken)
Parameters
Type | Name | Description |
---|---|---|
System.Net.WebSockets.WebSocket | webSocket | |
Element | element | |
System.Boolean | disposeElementAfterSession | |
System.Double | initialWidth | |
System.Double | initialHeight | |
System.Action<System.String, System.Exception> | errorLogger | |
System.Threading.CancellationToken | serverToken |
Methods
| Improve this Doc View SourceQueueMessage(Message)
Declaration
protected override void QueueMessage(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message |
Overrides
| Improve this Doc View SourceRunAsync()
Declaration
public Task RunAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |