Class
CadenteHttpServerEngineResponse
Represents an HTTP response within the Cadente engine context.
public sealed class CadenteHttpServerEngineResponse : HttpServerEngineContextResponse, IDisposableInheritance #
object ← HttpServerEngineContextResponse ← CadenteHttpServerEngineResponse
Implements #
Inherited Members #
HttpServerEngineContextResponse.AppendHeader(string, string), HttpServerEngineContextResponse.Abort(), HttpServerEngineContextResponse.Close(), HttpServerEngineContextResponse.Dispose(), HttpServerEngineContextResponse.StatusCode, HttpServerEngineContextResponse.StatusDescription, HttpServerEngineContextResponse.KeepAlive, HttpServerEngineContextResponse.SendChunked, HttpServerEngineContextResponse.ContentLength64, HttpServerEngineContextResponse.ContentType, HttpServerEngineContextResponse.Headers, HttpServerEngineContextResponse.OutputStream, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| CadenteHttpServerEngineResponse(HttpResponse, HttpHostContext) | Initializes a new instance of the CadenteHttpServerEngineResponse class. |
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. |