Function run_rpc_server

Source
async fn run_rpc_server(
    rpc_handler: CupratedRpcHandler,
    restricted: bool,
    address: SocketAddr,
    request_byte_limit: usize,
) -> Result<(), Error>
Expand description

This initializes and runs an RPC server.

The function will only return when the server itself returns or an error occurs.