Click or drag to resize

GSuiteEngineAsyncRegisterMethodHandler Method

IT Hit WebDAV Classes Reference
Registers custom method handler.

Namespace:  ITHit.GSuite.Server
Assembly:  ITHit.GSuite.Server (in ITHit.GSuite.Server.dll) Version: 11.3.10719
Syntax
public override IMethodHandlerAsync<IHierarchyItemBaseAsync> RegisterMethodHandler(
	string method,
	IMethodHandlerAsync<IHierarchyItemBaseAsync> handler
)

public override IMethodHandlerAsync<IHierarchyItemBaseAsync> RegisterMethodHandler(
	string method,
	IMethodHandlerAsync<IHierarchyItemBaseAsync> handler
)

Parameters

method
Type: SystemString
HTTP verb.
handler
Type: ITHit.Server.ExtensibilityIMethodHandlerAsyncIHierarchyItemBaseAsync
Custom handled implementing IMethodHandlerAsyncTHierarchyItemAsync interface.

Return Value

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