Skip to main content

production_inference_rpc_client_at_transport

Function production_inference_rpc_client_at_transport 

Source
pub fn production_inference_rpc_client_at_transport(
    resolution_service_name: &str,
    selected_transport: &TransportConfig,
    signing_key: SigningKey,
    token: Option<String>,
) -> Result<Arc<dyn RpcClient>>
Expand description

Construct a production RPC client pinned to one router-selected advertised reach while retaining Discovery’s opaque identity/currentness authority.

resolution_service_name selects the accepted dynamic inference entry. The generated RPC schema domain remains hard-bound to canonical inference; callers cannot choose a different application authority.

The selected reach is only a selector. It grants no authority: every call must still find that exact reach in the checkpoint-current, same-authority candidate set before Discovery constructs the crypto-bound dial.