DavEngineRegisterOptionsHandler Method
IT Hit WebDAV Classes Reference
Registers custom options handler.
Namespace: ITHit.WebDAV.ServerAssembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntaxpublic IOptionsHandler RegisterOptionsHandler(
string name,
IOptionsHandler handler
)
Public Function RegisterOptionsHandler (
name As String,
handler As IOptionsHandler
) As IOptionsHandler
public:
IOptionsHandler^ RegisterOptionsHandler(
String^ name,
IOptionsHandler^ handler
)
member RegisterOptionsHandler :
name : string *
handler : IOptionsHandler -> IOptionsHandler
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:
IOptionsHandlerOriginal 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