DavContextHttpListenerBaseAsync Constructor
IT Hit WebDAV Classes Reference
Initializes context for HttpListener-based server.
Namespace:
ITHit.WebDAV.Server
Assembly:
ITHit.WebDAV.Server.HttpListener (in ITHit.WebDAV.Server.HttpListener.dll) Version: 9.1.5311-Beta
Syntax public DavContextHttpListenerBaseAsync(
HttpListenerContext context,
HttpListenerPrefixCollection prefixes
)
Public Sub New (
context As HttpListenerContext,
prefixes As HttpListenerPrefixCollection
)
public:
DavContextHttpListenerBaseAsync(
HttpListenerContext^ context,
HttpListenerPrefixCollection^ prefixes
)
new :
context : HttpListenerContext *
prefixes : HttpListenerPrefixCollection -> DavContextHttpListenerBaseAsync
Parameters
- context
- Type: System.NetHttpListenerContext
An HttpListenerContext object. - prefixes
- Type: System.NetHttpListenerPrefixCollection
List of HttpListener prefixes.
Remarks
You must create new context in each request to your WebDAV server passing
listener context and list of HttpListener prefixes.
See Also