Click or drag to resize

JsonRpcServiceHostBuilderIntercept Method (FuncRequestHandler, RequestHandler)

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

Adds a middleware 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<RequestHandler, RequestHandler> middleware
)

Parameters

middleware
Type: SystemFuncRequestHandler, RequestHandler
The middleware to be added.
Remarks
See Also