Click or drag to resize

HttpListenerResponse Properties

The HttpListenerResponse type exposes the following members.

Properties
  NameDescription
Public propertyContentEncoding
Gets or sets the encoding for the entity body data included in the response.
Public propertyContentLength64
Gets or sets the number of bytes in the entity body data included in the response.
Public propertyContentType
Gets or sets the media type of the entity body included in the response.
Public propertyCookies
Gets or sets the cookies sent with the response.
Public propertyHeaders
Gets or sets the HTTP headers sent to the client.
Public propertyKeepAlive
Gets or sets a value indicating whether the server requests a persistent connection.
Public propertyOutputStream
Gets a Stream to use to write the entity body data.
Public propertyProtocolVersion
Gets or sets the HTTP version used in the response.
Public propertyRedirectLocation
Gets or sets the URL to which the client is redirected to locate a requested resource.
Public propertySendChunked
Gets or sets a value indicating whether the response uses the chunked transfer encoding.
Public propertyStatusCode
Gets or sets the HTTP status code returned to the client.
Public propertyStatusDescription
Gets or sets the description of the HTTP status code returned to the client.
Top
See Also