Class
HttpHostContext
Represents an HTTP session that manages the request and response for a single connection.
public sealed class HttpHostContextInheritance #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties #
| Name | Description |
|---|---|
| Client | Gets the associated HttpHostClient with this HTTP context. |
| Host | Gets the associated HttpHost which created this HTTP context. |
| KeepAlive | Gets or sets a value indicating whether the connection should be kept alive. |
| Request | Gets the HTTP request associated with this session. |
| Response | Gets the HTTP response associated with this session. |
Methods #
| Name | Description |
|---|---|
| Abort() | Aborts the underlying network stream, forcibly closing the connection. |