Google Cloud Storage C++ Client  1.32.1
A C++ Client Library for Google Cloud Storage
Public Member Functions | List of all members
google::cloud::storage::v1::CustomHeader Class Reference

An option to inject custom headers into the request. More...

#include <google/cloud/storage/well_known_headers.h>

Public Member Functions

 CustomHeader ()=default
 CustomHeader (std::string name, std::string value)
std::string const & custom_header_name () const

Detailed Description

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

Definition at line 86 of file well_known_headers.h.

Constructor & Destructor Documentation

◆ CustomHeader() [1/2]

google::cloud::storage::v1::CustomHeader::CustomHeader ( )

◆ CustomHeader() [2/2]

google::cloud::storage::v1::CustomHeader::CustomHeader ( std::string  name,
std::string  value 

Definition at line 90 of file well_known_headers.h.

Member Function Documentation

◆ custom_header_name()

std::string const& google::cloud::storage::v1::CustomHeader::custom_header_name ( ) const

Definition at line 93 of file well_known_headers.h.