referrerpolicy=no-referrer-when-downgrade

connect

Function connect 

Source
pub async fn connect(
    node_rpc_url: &str,
    max_request_size: u32,
    max_response_size: u32,
) -> Result<(OnlineClient<SrcChainConfig>, RpcClient, LegacyRpcMethods<SrcChainConfig>), ClientError>
Expand description

Connect to a node at the given URL, and return the underlying API, RPC client, and legacy RPC clients.