Skip to main content

oneshot_client_connect_with_prefs

Function oneshot_client_connect_with_prefs 

Source
async fn oneshot_client_connect_with_prefs(
    rpc_data_stream: Arc<OneshotClient>,
    method: Box<ConnectWithPrefs>,
    ctx: Arc<dyn Context>,
) -> ClientConnectionResult<DataStream>
Expand description

Invoke ConnectWithPrefs on an OneshotClient.

Unlike the other methods on OneshotClient, this one is somewhat complex, since it must re-register the resulting datastream once it has one.