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/latest/structgoogle_1_1cloud_1_1AuthorityOption below:

Struct AuthorityOption (2.42.0-rc) | C++ Client Libraries

Struct AuthorityOption (2.42.0-rc)

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

Configure the "authority" attribute.

For gRPC requests this is the authority() field in the grpc::ClientContext. This configures the :authority pseudo-header in the HTTP/2 request. https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.3

For REST-based services using HTTP/1.1 or HTTP/1.0 this is the Host header.

Setting this option to the empty string has no effect, i.e., no headers are set. This can be useful if you are not using Google's production environment.

Type Aliases

Alias Of: std::string

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."],[[["The latest version available is 2.37.0-rc, which can be accessed via the provided link."],["The content provides a list of versions, ranging from the latest 2.37.0-rc down to version 2.10.1, all relating to `structgoogle_1_1cloud_1_1AuthorityOption`."],["This documentation outlines how to configure the \"authority\" attribute for gRPC and REST requests, which relates to the `authority()` field in `grpc::ClientContext` for gRPC and the `Host` header for REST."],["Setting the authority option to an empty string will have no effect, meaning that no headers are set."],["The alias of the AuthorityOption is a string, as specified in the Type Alias section."]]],[]]


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