A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unosquare.github.io/embedio/api/EmbedIO.IHttpResponse.html below:

Interface IHttpResponse

Interface to create a HTTP Response.

Namespace: EmbedIO Syntax
public interface IHttpResponse : IHttpMessage
Properties ContentEncoding

Gets or sets the content encoding.

Declaration
Encoding? ContentEncoding { get; set; }
Property Value ContentLength64

Gets or sets the content length.

Declaration
long ContentLength64 { get; set; }
Property Value ContentType

Gets or sets the type of the content.

Declaration
string ContentType { get; set; }
Property Value

Gets the response headers.

Declaration
WebHeaderCollection Headers { get; }
Property Value Type Description WebHeaderCollection KeepAlive

Gets or sets a value indicating whether [keep alive].

Declaration
bool KeepAlive { get; set; }
Property Value OutputStream

Gets the output stream.

Declaration
Stream OutputStream { get; }
Property Value SendChunked

Gets or sets a value indicating whether the response uses chunked transfer encoding.

Declaration
bool SendChunked { get; set; }
Property Value StatusCode

Gets or sets the status code.

Declaration
int StatusCode { get; set; }
Property Value StatusDescription

Gets or sets a text description of the HTTP status code.

Declaration
string StatusDescription { get; set; }
Property Value Methods Close()

Closes this instance and dispose the resources.

Declaration SetCookie(Cookie)

Sets the cookie.

Declaration
void SetCookie(Cookie cookie)
Parameters Type Name Description Cookie cookie

The session cookie.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4