qcs-api-client-grpc

crates.io version crates.io license - Apache-2.0 crates.io recent downloads docs.rs badge

This crate provides an autogenerated gRPC client for the QCS API, along with helper utilities for automatically loading credentials from a user's QCS config and keeping authentication tokens refreshed.

Quick Start

See [docs.rs] for a quick start guide.

Proxies

The get_channel function configures the returned Channel to route requests through a client proxy based on the presence of environment variables HTTPS_PROXY and/or HTTP_PROXY. Currently, the supported proxy schemes are http, https, and socks5.

There are some caveats to the proxy configuration: - If both variables are defined, neither can be a socks5 proxy, unless they are both the same value. - If only one variable is defined, and it is a socks5 proxy, all traffic will routed through it.