Module rings_node::jsonrpc::handler
source · Expand description
MetaIoHandler add methods from super::methods::*
with RpcMeta
JSON-RPC handler for both feature=browser and feature=node.
We support running the JSON-RPC server in either native or browser environment.
For the native environment, we use jsonrpc_core to handle requests.
For the browser environment, we utilize a Simple MessageHandler to process the requests.
Re-exports
pub use self::default::build_handler;
pub use self::default::HandlerType;
Modules
- Implementation for native node
Functions
- This function will return a list of public functions for all interfaces. If you need to define interfaces separately for the browser or native, you should use cfg to control the conditions.
Type Aliases
- Type of handler function