This is an interface-version of the parts of
HttpListenerResponse that
the
WebDavServer requires to operator.
Namespace: WebDAVSharp.Server.AdaptersAssembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
The IHttpListenerResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| AppendHeader |
Appends a value to the specified HTTP header to be sent with the response.
| |
| Close |
Sends the response to the client and releases the resources held by the adapted
HttpListenerResponse instance.
|
| Name | Description | |
|---|---|---|
| AdaptedInstance |
Gets the internal instance that was adapted for WebDAV#.
(Inherited from IAdapter T .) | |
| 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.
| |
| OutputStream |
Gets a Stream object to which a response can be written.
| |
| 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.
|
The main purpose of this interface is to facilitate unit-testing.