RegisteredHeaders.cc
Go to the documentation of this file.
24HeaderTableRecord::HeaderTableRecord(const char *n, HdrType theId, HdrFieldType theType, int theKind) :
38const HeaderTableRecord HeaderLookupTable_t::BadHdr {"*INVALID*:", Http::HdrType::BAD_HDR, Http::HdrFieldType::ftInvalid, HdrKind::None};
64std::ostream&
static const class HeaderTableRecord HttpHeaderDefinitionsTable[]
Definition: RegisteredHeadersHash.cci:175
static const class HeaderTableRecord * lookup(const char *str, size_t len)
Definition: RegisteredHeadersHash.cci:361
Definition: RegisteredHeaders.h:178
static const HeaderTableRecord BadHdr
used to signal "not found" from lookups
Definition: RegisteredHeaders.h:199
std::vector< const HeaderTableRecord * > idCache
Definition: RegisteredHeaders.h:198
HeaderLookupTable_t()
Definition: RegisteredHeaders.cc:40
const HeaderTableRecord & lookup(const char *buf, const std::size_t len) const
look record type up by name (C-string and length)
Definition: RegisteredHeaders.cc:32
Definition: RegisteredHeaders.h:153
HeaderTableRecord()=default
Definition: forward.h:18
std::ostream & operator<<(std::ostream &, const TunnelerAnswer &)
Definition: HttpTunnelerAnswer.cc:20
@ ftInvalid
bool any_HdrType_enum_value(const Http::HdrType id)
match any known header type, including OTHER and BAD
Definition: RegisteredHeaders.h:205
const HeaderLookupTable_t HeaderLookupTable
Definition: RegisteredHeaders.cc:60