Function minerva_rpc::user::make_client
source · [−]pub async fn make_client(
endpoint: String,
tenant: String,
requestor: String
) -> Result<UserInterceptedClient, Status>
Expand description
Creates a User client with tenant and requestor metadata and connects
to the server. Upon failure, returns an Unavailable
gRPC status.
This function requires information about tenant
, requestor
and the
actual endpoint
that the client should connect to.