Google Cloud Storage C++ Client 2.13.0
A C++ Client Library for Google Cloud Storage
Loading...
Searching...
No Matches
Public Member Functions | List of all members
google::cloud::storage::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

Constructor & Destructor Documentation

◆ CustomHeader() [1/2]

google::cloud::storage::CustomHeader::CustomHeader ( )
default

◆ CustomHeader() [2/2]

google::cloud::storage::CustomHeader::CustomHeader ( std::string  name,
std::string  value 
)
inlineexplicit

Member Function Documentation

◆ custom_header_name()

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