This is an interface-version of the parts of
HttpListener 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)
Syntax
The IHttpListener type exposes the following members.
Methods
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetContext |
Waits for a request to come in to the web server and returns a
IHttpListenerContext adapter around it.
| |
Start |
Allows the adapted HttpListener to receive incoming requests.
| |
Stop |
Causes the adapted HttpListener to stop receiving incoming requests.
|
Properties
Name | Description | |
---|---|---|
AdaptedInstance |
Gets the internal instance that was adapted for WebDAV#.
(Inherited from IAdapter T .) | |
Prefixes |
Gets the Uniform Resource Identifier (
Uri) prefixes handled by the
adapted
HttpListener object.
|
Remarks
The main purpose of this interface is to facilitate unit-testing.
See Also