Click or drag to resize

IMethodHandlerAsyncProcessRequestAsync Method

IT Hit WebDAV Classes Reference
Enables processing of HTTP Web requests by a custom handler.

Namespace:  ITHit.WebDAV.Server.Extensibility
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 7.1.4620
Syntax
Task ProcessRequestAsync(
	DavContextBaseAsync context,
	IHierarchyItemAsync item
)

Parameters

context
Type: ITHit.WebDAV.ServerDavContextBaseAsync
Instance of your context class derived from DavContextBaseAsync class.
item
Type: ITHit.WebDAV.ServerIHierarchyItemAsync
Hierarchy item returned from GetHierarchyItemAsync(String) or null.

Return Value

Type: Task
.
Remarks
The ProcessRequestAsync(DavContextBaseAsync, IHierarchyItemAsync) method is called by the engine during RunAsync(DavContextBaseAsync) call. The hierarchy item returned from GetHierarchyItemAsync(String) is passed to this method. If GetHierarchyItemAsync(String) returns null the null is passed.
See Also