Class
HttpServerEngineContextResponse
Provides an abstract base class for HTTP responses.
public abstract class HttpServerEngineContextResponse : IDisposableInheritance #
object ← HttpServerEngineContextResponse
Implements #
Inherited Members #
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| HttpServerEngineContextResponse() |
Properties #
| Name | Description |
|---|---|
| ContentLength64 | Gets or sets the content length of the response. |
| ContentType | Gets or sets the content type of the response. |
| Headers | Gets or sets the HTTP headers. |
| KeepAlive | Gets or sets a value indicating whether the connection should be kept alive. |
| OutputStream | Gets the output stream of the response. |
| SendChunked | Gets or sets a value indicating whether chunked transfer encoding is used. |
| StatusCode | Gets or sets the HTTP status code. |
| StatusDescription | Gets or sets the status description. |
Methods #
| Name | Description |
|---|---|
| Abort() | Aborts the response. |
| AppendHeader(string, string) | Appends a header to the response. |
| Close() | Closes the response. |
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |