Click or drag to resize

JsonRpcServiceHostBuilderIntercept Method (FuncRequestContext, FuncTask, Task)

[This is preliminary documentation and is subject to change.]

Adds a handler to intercept the JSON RPC requests.

Namespace:  JsonRpc.Server
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public void Intercept(
	Func<RequestContext, Func<Task>, Task> handler
)

Parameters

handler
Type: SystemFuncRequestContext, FuncTask, Task
The handler to be added.
Remarks
If there are multiple calls to this method, the last handler applied will be the fist to receive the request.
See Also