Class HttpResponseStreamManager
Namespace: Sisk.Core.Http.Streams
Assembly: Sisk.Core.dll
Represents a way to manage HTTP requests with their output streams, without relying on synchronous content.
public sealed class HttpResponseStreamManager
Inheritance
object ← HttpResponseStreamManager
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Gets the Stream that represents the HTTP response output stream.
Gets or sets whether this HTTP response stream should use chunked transfer encoding.
Methods
Closes this HTTP response stream connection between the server and the client and returns an empty HttpResponse to finish the HTTP server context.
GetStreamWriter(string?, Encoding?, string?)
Returns a StreamWriter for writing to the response stream, setting the content type and encoding.
Sets the Content-Length header of this response stream. If this response stream is using chunked transfer encoding, this method will do nothing.
Sets a cookie and sends it in the response to be set by the client.
Sets a cookie and sends it in the response to be set by the client.
SetCookie(string, string, DateTime?, TimeSpan?, string?, string?, bool?, bool?, string?)
Sets a cookie and sends it in the response to be set by the client.
Sets the specific HTTP header into this response stream.
Sets the HTTP status code for this response stream.
Sets the HTTP status code for this response stream.
SetStatus(HttpStatusInformation)
Sets the HTTP status code and description for this response stream.
Writes an sequence of bytes to the HTTP response stream.
Writes an sequence of bytes to the HTTP response stream.
Writes a range of bytes from a byte array to the HTTP response stream.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語