pub fn with_service_prefix(client: Client, prefix: &str) -> ClientAvailable on crate feature
client only.Expand description
Append a service-prefix segment to the client’s base URL. Used by
generated From<trillium_client::Client> impls so that each generated
method only needs to specify its own RPC name as a relative path.
Mutates the base in place — trillium_client::Client::base_mut is
clone-on-write across clones of the same client, so this doesn’t leak
to other holders.
Panics if the client has no base URL set.