Expand description
Warp filters which can be combined to provide JSON-RPC endpoints.
Generally these lower-level filters will not need to be explicitly called. Instead,
casper_json_rpc::route()
should be sufficient.
Functionsยง
- base_
filter - Returns a boxed warp filter which handles the initial setup.
- handle_
rejection - Handler for rejections where no JSON-RPC response is sent, but an HTTP response is required.
- main_
filter - Returns a boxed warp filter which handles parsing a JSON-RPC request from the given HTTP body, executing it using the appropriate handler, and providing a reply.