A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/cpp/docs/reference/common/2.21.0/classgoogle_1_1cloud_1_1ProxyConfig below:

Class ProxyConfig (2.21.0) | C++ Client Libraries

Class ProxyConfig (2.21.0)

Stay organized with collections Save and categorize content based on your preferences.

The configuration for a HTTP Proxy.

This configuration can be used for both REST-based and gRPC-based clients. The client library sets the underlying configuration parameters based on the values in this struct.

The full URI is constructed as:

{scheme}://{username}:{password}hostname}:{port}

Any empty values are omitted, except for the scheme which defaults to https. If the hostname value is empty, no HTTP proxy is configured.

Constructors ProxyConfig() Functions set_hostname(std::string) &

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig & set_hostname(std::string) &&

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig && set_port(std::string) &

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig & set_port(std::string) &&

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig && set_username(std::string) &

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig & set_username(std::string) &&

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig && set_password(std::string) &

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig & set_password(std::string) &&

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig && set_scheme(std::string) &

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig & set_scheme(std::string) &&

@ name Modifiers.

Parameter Name Description v std::string
Returns Type Description ProxyConfig && hostname() const

The HTTP proxy host.

Returns Type Description std::string const & port() const

The HTTP proxy port.

Returns Type Description std::string const & username() const

The HTTP proxy username.

Returns Type Description std::string const & password() const

The HTTP proxy password.

Returns Type Description std::string const & scheme() const

The HTTP proxy scheme (http or https).

Returns Type Description std::string const &

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-14 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This document outlines the configuration for an HTTP Proxy, applicable to both REST and gRPC-based clients."],["The full URI is created using the format `{scheme}://{username}:{password}hostname}:{port}`, and any empty value is omitted, except for the `scheme` which uses `https` as the default value."],["There are various functions available, such as `set_hostname`, `set_port`, `set_username`, `set_password`, and `set_scheme`, to set the different parts of the HTTP proxy, each with a reference and rvalue reference parameter modifier."],["The document provides a list of available versions of this configuration from 2.10.1 up to the latest, 2.37.0-rc, as well as the version the document applies to, 2.21.0."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4