ContextHttpListenerAsyncTHierarchyItem Constructor
IT Hit WebDAV Classes Reference
Initializes context for HttpListener-based server.
Namespace:
ITHit.Server
Assembly:
ITHit.Server.HttpListener (in ITHit.Server.HttpListener.dll) Version: 13.3.13068
Syntax public ContextHttpListenerAsync(
HttpListenerContext context,
HttpListenerPrefixCollection prefixes
)
Public Sub New (
context As HttpListenerContext,
prefixes As HttpListenerPrefixCollection
)
public:
ContextHttpListenerAsync(
HttpListenerContext^ context,
HttpListenerPrefixCollection^ prefixes
)
new :
context : HttpListenerContext *
prefixes : HttpListenerPrefixCollection -> ContextHttpListenerAsync
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