Class
HttpServerEngineContext
Provides an abstract base class for HTTP contexts.
public abstract class HttpServerEngineContextInheritance #
object ← HttpServerEngineContext
Inherited Members #
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| HttpServerEngineContext() |
Properties #
| Name | Description |
|---|---|
| ContextAbortedToken | Gets a value that indicates whether the HTTP connection has been aborted. |
| 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. |