Class HttpServerEngineContextResponse
Provides an abstract base class for HTTP responses.
public abstract class HttpServerEngineContextResponse : IDisposable
- Inheritance
-
HttpServerEngineContextResponse
- Implements
- Inherited Members
Constructors
Properties
- 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
- 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.