Class WebSocketHandler
Inheritance
System.Object
WebSocketHandler
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.AspNetCore
Assembly: Goui.AspNetCore.dll
Syntax
public static class WebSocketHandler
Properties
| Improve this Doc View SourceSessionTimeout
Declaration
public static TimeSpan SessionTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
WebSocketPath
Declaration
public static string WebSocketPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceBeginSession(HttpContext, Element, Boolean, ILogger)
Declaration
public static string BeginSession(HttpContext context, Element element, bool disposeElementAfterSession, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Http.HttpContext | context | |
Element | element | |
System.Boolean | disposeElementAfterSession | |
Microsoft.Extensions.Logging.ILogger | logger |
Returns
Type | Description |
---|---|
System.String |
HandleWebSocketRequestAsync(HttpContext)
Declaration
public static Task HandleWebSocketRequestAsync(HttpContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Http.HttpContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |