HttpListenerResponse Class |
Namespace: Sfs2X.WebSocketSharp.Net
public sealed class HttpListenerResponse : IDisposable
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.
|
Name | Description | |
---|---|---|
![]() | Abort |
Closes the connection to the client without returning a response.
|
![]() | AddHeader |
Adds an HTTP header with the specified name and
value to the headers for the response.
|
![]() | AppendCookie |
Appends the specified cookie to the cookies sent with the response.
|
![]() | AppendHeader |
Appends a value to the specified HTTP header sent with the response.
|
![]() | Close |
Returns the response to the client and releases the resources used by
this HttpListenerResponse instance.
|
![]() | Close(Byte, Boolean) |
Returns the response with the specified array of Byte to the client and
releases the resources used by this HttpListenerResponse instance.
|
![]() | CopyFrom |
Copies some properties from the specified HttpListenerResponse to
this response.
|
![]() | Redirect |
Configures the response to redirect the client's request to
the specified url.
|
![]() | SetCookie |
Adds or updates a cookie in the cookies sent with the response.
|
Name | Description | |
---|---|---|
![]() | WriteContent |
Writes and sends the specified content data with the specified
HttpListenerResponse.
(Defined by Ext.) |