Function sc_service::start_rpc_servers

source ยท
pub fn start_rpc_servers<R>(
    rpc_configuration: &RpcConfiguration,
    registry: Option<&Registry>,
    tokio_handle: &Handle,
    gen_rpc_module: R,
    rpc_id_provider: Option<Box<dyn SubscriptionIdProvider>>,
) -> Result<Server, Error>
where R: Fn() -> Result<RpcModule<()>, Error>,
Expand description

Starts RPC servers.