Whether to coerce requests without the 'jsonrpc' member to valid JSON-RPC 2.0 requests
Logger used to print log messages
Module whose methods can be called via the RPC endpoint
Path the endpoint is registered at
Check whether the specified method exists
Method name to check
Execute the RPC
Method to execute
Parameters passed to the method invocation
Middleware for executing the RPC call as specified in the RPC request
Getter for the 'path' attribute
Register the RPC endpoint with the given Express server
Express server object
Setter for the 'log' attribute
Attempt to coerce each request to be a valid JSON-RPC 2.0 request:
Convenience method that normalizes the request body by always returning an array of rpc requests, even if only one is specified (both is allowed by the RFC)
Check whether the incoming request body is a valid JSON-RPC 2.0 request object (terminate the request otherwise)
JSON-RPC 2.0 endpoint class https://www.jsonrpc.org/specification