Boost C++ Libraries

PrevUpHomeNext

Struct template header_item

boost::taar::matcher::header_t::header_item — A handle to a particular header by key.

Synopsis

// In header: <boost/taar/matcher/header.hpp>



// A handle to a particular header by key.
template<typename KeyType> 
struct header_item {

  // friend functions
  auto exist(header_item);

  // public data members
  KeyType key;  // The header key this item refers to. 
};

Description

Template Parameters

  1. typename KeyType

    Either boost::beast::http::field for well-known headers, or std::string for custom headers.

header_item friend functions

  1. auto exist(header_item header);
    Match requests that carry header, regardless of its value.

PrevUpHomeNext