IHttpListenerResponse InterfaceWebDAV#
This is an interface-version of the parts of HttpListenerResponse that the WebDavServer requires to operator.

Namespace: WebDAVSharp.Server.Adapters
Assembly: WebDAVSharp.Server (in WebDAVSharp.Server.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IHttpListenerResponse : IAdapter<HttpListenerResponse>

The IHttpListenerResponse type exposes the following members.

Methods
  NameDescription
Public methodAppendHeader
Appends a value to the specified HTTP header to be sent with the response.
Public methodClose
Sends the response to the client and releases the resources held by the adapted HttpListenerResponse instance.
Top
Properties
  NameDescription
Public propertyAdaptedInstance
Gets the internal instance that was adapted for WebDAV#.
(Inherited from IAdapter T .)
Public propertyContentEncoding
Gets or sets the Encoding for this response's OutputStream.
Public propertyContentLength64
Gets or sets the number of bytes in the body data included in the response.
Public propertyOutputStream
Gets a Stream object to which a response can be written.
Public propertyStatusCode
Gets or sets the HTTP status code to be returned to the client.
Public propertyStatusDescription
Gets or sets a text description of the HTTP status code returned to the client.
Top
Remarks
The main purpose of this interface is to facilitate unit-testing.
See Also