Sisk

Class

HttpServerEngineContextResponse

Namespace
Sisk.Core.Http.Engine
Assembly
Sisk.Core.dll

Provides an abstract base class for HTTP responses.

C#
public abstract class HttpServerEngineContextResponse : IDisposable

Inheritance #

object ← HttpServerEngineContextResponse

Implements #

IDisposable

Inherited Members #

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors #

NameDescription
HttpServerEngineContextResponse()

Properties #

NameDescription
ContentLength64Gets or sets the content length of the response.
ContentTypeGets or sets the content type of the response.
HeadersGets or sets the HTTP headers.
KeepAliveGets or sets a value indicating whether the connection should be kept alive.
OutputStreamGets the output stream of the response.
SendChunkedGets or sets a value indicating whether chunked transfer encoding is used.
StatusCodeGets or sets the HTTP status code.
StatusDescriptionGets or sets the status description.

Methods #

NameDescription
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.

Type to search the documentation and the API reference.