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