HttpListenerResponse Properties

Public Properties

Name Description
Public Property ContentEncoding Gets or sets the encoding for this response's OutputStream.
Public Property ContentLength64 Gets or sets the number of bytes in the body data included in the response.
Public Property ContentType Gets or sets the MIME type of the returned content.
Public Property Headers Gets or sets the collection of header name/value pairs that is returned by the server.
Public Property KeepAlive Gets or sets whether the server requests a persistent connection.
Public Property OutputStream Gets a Stream object to which a response can be written.
Public Property ProtocolVersion Gets or sets the HTTP version that is used for the response.
Public Property RedirectLocation Gets or sets the value of the HTTP Location header in this response.
Public Property SendChunked Gets or sets whether the response uses chunked transfer encoding.
Public Property StatusCode Gets or sets the HTTP status code to be returned to the client.
Public Property StatusDescription Gets or sets a text description of the HTTP status code that is returned to the client.

See Also

Reference

HttpListenerResponse Class
System.Net Namespace