Google APIs Client Library for C++
RequestHeaderLess Struct Reference

Comparator for using headers in standard template library collections. More...

#include "client/transport/http_types.h"

List of all members.

Public Member Functions

 RequestHeaderLess ()
 Constructor is overloaded to perform some global initialization.
bool operator() (const string &a, const string &b) const
 Compares headers for sort-order.

Detailed Description

Comparator for using headers in standard template library collections.

Puts certain headers before others and case-insensitive compares the rest.


Constructor & Destructor Documentation

Constructor is overloaded to perform some global initialization.


Member Function Documentation

bool operator() ( const string &  a,
const string &  b 
) const

Compares headers for sort-order.

Parameters:
[in]aName of first header.
[in]bName of second header.
Returns:
true if a should be sorted before b, false otherwise.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines