google-cloud-cpp

Is there a way to use an http proxy for google-cloud-cpp?

杀马特。学长 韩版系。学妹 提交于 2020-05-17 06:01:40
问题 I am using google-cloud-cpp (C++ API for Google Cloud Platform functions) to create/read/write to buckets. When I am working from within the organization's firewall, I have to use a proxy to be able to connect to google cloud. I see that we can configure a proxy using the gcloud command line: gcloud config set proxy/type http gcloud config set proxy/address x.x.x.x gcloud config set proxy/port Can I do something similar when I use google-cloud-cpp? 回答1: If we look at the source code of the