Class
CadenteHttpServerEngineContext
Represents the context for an HTTP request and response within the Cadente engine.
public sealed class CadenteHttpServerEngineContext : HttpServerEngineContextInheritance #
object ← HttpServerEngineContext ← CadenteHttpServerEngineContext
Inherited Members #
HttpServerEngineContext.AcceptWebSocketAsync(string?), HttpServerEngineContext.Request, HttpServerEngineContext.Response, HttpServerEngineContext.ContextAbortedToken, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| CadenteHttpServerEngineContext(CadenteHttpServerEngineRequest, CadenteHttpServerEngineResponse) |
Properties #
| Name | Description |
|---|---|
| ContextAbortedToken | Gets a value that indicates whether the HTTP connection has been aborted. |
| ProcessingTask | Gets a task that represents the completion of the processing for this context. |
| Request | Gets the HTTP request associated with the context. |
| Response | Gets the HTTP response associated with the context. |
Methods #
| Name | Description |
|---|---|
| AcceptWebSocketAsync(string?) | Accepts a WebSocket connection asynchronously. |