Click or drag to resize

DavEngineAsyncRegisterOptionsHandler Method

IT Hit WebDAV Classes Reference
Registers custom options handler.

Namespace:  ITHit.WebDAV.Server
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 11.3.10719
Syntax
public IOptionsHandler RegisterOptionsHandler(
	string name,
	IOptionsHandler handler
)

public IOptionsHandler RegisterOptionsHandler(
	string name,
	IOptionsHandler handler
)

Parameters

name
Type: SystemString
Token that will be added to 'DAV' header for OPTIONS response.
handler
Type: ITHit.WebDAV.Server.ExtensibilityIOptionsHandler
Custom handled implementing IOptionsHandler interface.

Return Value

Type: IOptionsHandler
Original handler if any.
Remarks
Using this method you can register custom options handler to be called by the engine. If the handler for the specified token was already defined it is returned from this method. The original handler can be saved and called later from your custom handler.
See Also