An option to inject custom headers into the request.
In some cases it is necessary to inject a custom header into the request. For example, because the protocol has added new headers and the library has not been updated to support them, or because
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[[["This page provides documentation for the `CustomHeader` class within the Google Cloud Storage C++ client library, covering versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `CustomHeader` class allows users to inject custom headers into requests, which is useful when dealing with new or unsupported headers in the protocol."],["The class has a default constructor `CustomHeader()` and an overloaded constructor `CustomHeader(std::string, std::string)` that takes the name and value of the header as parameters."],["The `custom_header_name()` function is available to retrieve the name of the custom header as a constant string reference."],["Each listed version has a link directing to the `CustomHeader` documentation specific to that release."]]],[]]