Skip to main content

add_debug_rpc_methods

Function add_debug_rpc_methods 

Source
pub fn add_debug_rpc_methods(
    rpc: &mut MetaIoHandler<Option<Session>>,
    rpc_impl: impl DebugRpc + Clone + Send + Sync + 'static,
)
Expand description

Add RPC methods to the given jsonrpc_utils::jsonrpc_core::MetaIoHandler.