HttpListenerResponse Properties
.NET Framework 4
The HttpListenerResponse type exposes the following members.
| Name | Description | |
|---|---|---|
|
ContentEncoding | Gets or sets the Encoding for this response's OutputStream. |
|
ContentLength64 | Gets or sets the number of bytes in the body data included in the response. |
|
ContentType | Gets or sets the MIME type of the content returned. |
|
Cookies | Gets or sets the collection of cookies returned with the response. |
|
Headers | Gets or sets the collection of header name/value pairs returned by the server. |
|
KeepAlive | Gets or sets a value indicating whether the server requests a persistent connection. |
|
OutputStream | Gets a Stream object to which a response can be written. |
|
ProtocolVersion | Gets or sets the HTTP version used for the response. |
|
RedirectLocation | Gets or sets the value of the HTTP Location header in this response. |
|
SendChunked | Gets or sets whether the response uses chunked transfer encoding. |
|
StatusCode | Gets or sets the HTTP status code to be returned to the client. |
|
StatusDescription | Gets or sets a text description of the HTTP status code returned to the client. |