C-DEngine 5.105

HttpListenerResponse Properties

The HttpListenerResponse type exposes the following members.

Properties


  Name Description
Public property ContentEncoding
Gets or sets the encoding for the entity body data included in the response.
Public property ContentLength64
Gets or sets the number of bytes in the entity body data included in the response.
Public property ContentType
Gets or sets the media type of the entity body included in the response.
Public property Cookies
Gets or sets the cookies sent with the response.
Public property Headers
Gets or sets the HTTP headers sent to the client.
Public property KeepAlive
Gets or sets a value indicating whether the server requests a persistent connection.
Public property OutputStream
Gets a Stream to use to write the entity body data.
Public property ProtocolVersion
Gets or sets the HTTP version used in the response.
Public property RedirectLocation
Gets or sets the URL to which the client is redirected to locate a requested resource.
Public property SendChunked
Gets or sets a value indicating whether the response uses the chunked transfer encoding.
Public property StatusCode
Gets or sets the HTTP status code returned to the client.
Public property StatusDescription
Gets or sets the description of the HTTP status code returned to the client.