IHttpListener InterfaceWebDAV#
This is an interface-version of the parts of HttpListener 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 IHttpListener : IAdapter<HttpListener>, 
	IDisposable

The IHttpListener type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetContext
Waits for a request to come in to the web server and returns a IHttpListenerContext adapter around it.
Public methodStart
Allows the adapted HttpListener to receive incoming requests.
Public methodStop
Causes the adapted HttpListener to stop receiving incoming requests.
Top
Properties
  NameDescription
Public propertyAdaptedInstance
Gets the internal instance that was adapted for WebDAV#.
(Inherited from IAdapter T .)
Public propertyPrefixes
Gets the Uniform Resource Identifier ( Uri) prefixes handled by the adapted HttpListener object.
Top
Remarks
The main purpose of this interface is to facilitate unit-testing.
See Also