Class CadenteHttpServerEngineResponse
- Namespace
- Sisk.Cadente.CoreEngine
- Assembly
- Sisk.Cadente.CoreEngine.dll
Represents an HTTP response within the Cadente engine context.
public sealed class CadenteHttpServerEngineResponse : HttpServerEngineContextResponse, IDisposable
- Inheritance
-
CadenteHttpServerEngineResponse
- Implements
- Inherited Members
Constructors
- CadenteHttpServerEngineResponse(HttpResponse, HttpHostContext)
Initializes a new instance of the CadenteHttpServerEngineResponse class.
Properties
- ContentLength64
Gets or sets the content length of the response.
- ContentType
Gets or sets the content type of the response.
- 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
- 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.