proxygen
HTTPHeaders.h File Reference
#include <folly/FBVector.h>
#include <folly/Range.h>
#include <proxygen/lib/http/HTTPCommonHeaders.h>
#include <proxygen/lib/utils/Export.h>
#include <proxygen/lib/utils/UtilInl.h>
#include <bitset>
#include <cstring>
#include <string>
#include <initializer_list>

Go to the source code of this file.

Classes

class  proxygen::HTTPHeaders
 
struct  proxygen::HTTPHeaders::HTTPHeaderName
 

Namespaces

 proxygen
 

Macros

#define ITERATE_OVER_CODES(Code, Block)
 
#define ITERATE_OVER_STRINGS(String, Block)
 

Functions

bool proxygen::isLWS (char c)
 

Macro Definition Documentation

#define ITERATE_OVER_CODES (   Code,
  Block 
)
Value:
{ \
const HTTPHeaderCode* ptr = codes_.data(); \
while (ptr) { \
ptr = (HTTPHeaderCode*)memchr( \
(void*)ptr, (Code), codes_.size() - (ptr - codes_.data())); \
if (ptr == nullptr) \
break; \
const size_t pos = ptr - codes_.data(); \
{Block} ptr++; \
} \
}
void * ptr
if(FOLLY_USE_SYMBOLIZER) add_library(folly_exception_tracer_base ExceptionTracer.cpp StackTrace.cpp) apply_folly_compile_options_to_target(folly_exception_tracer_base) target_link_libraries(folly_exception_tracer_base PUBLIC folly) add_library(folly_exception_tracer ExceptionStackTraceLib.cpp ExceptionTracerLib.cpp) apply_folly_compile_options_to_target(folly_exception_tracer) target_link_libraries(folly_exception_tracer PUBLIC folly_exception_tracer_base) add_library(folly_exception_counter ExceptionCounterLib.cpp) apply_folly_compile_options_to_target(folly_exception_counter) target_link_libraries(folly_exception_counter PUBLIC folly_exception_tracer) install(FILES ExceptionAbi.h ExceptionCounterLib.h ExceptionTracer.h ExceptionTracerLib.h StackTrace.h DESTINATION $
Definition: CMakeLists.txt:1
const
Definition: upload.py:398

Definition at line 315 of file HTTPHeaders.h.

Referenced by proxygen::HTTPHeaders::forEachValueOfHeader(), proxygen::HTTPHeaders::getNumberOfValues(), proxygen::HTTPHeaders::remove(), and proxygen::HTTPHeaders::transferHeaderIfPresent().

#define ITERATE_OVER_STRINGS (   String,
  Block 
)
Value:
if (caseInsensitiveEqual((String), *headerNames_[pos])) { \
{Block} \
} \
})
bool caseInsensitiveEqual(folly::StringPiece s, folly::StringPiece t)
Definition: UtilInl.h:17
#define ITERATE_OVER_CODES(Code, Block)
Definition: HTTPHeaders.h:315
if(FOLLY_USE_SYMBOLIZER) add_library(folly_exception_tracer_base ExceptionTracer.cpp StackTrace.cpp) apply_folly_compile_options_to_target(folly_exception_tracer_base) target_link_libraries(folly_exception_tracer_base PUBLIC folly) add_library(folly_exception_tracer ExceptionStackTraceLib.cpp ExceptionTracerLib.cpp) apply_folly_compile_options_to_target(folly_exception_tracer) target_link_libraries(folly_exception_tracer PUBLIC folly_exception_tracer_base) add_library(folly_exception_counter ExceptionCounterLib.cpp) apply_folly_compile_options_to_target(folly_exception_counter) target_link_libraries(folly_exception_counter PUBLIC folly_exception_tracer) install(FILES ExceptionAbi.h ExceptionCounterLib.h ExceptionTracer.h ExceptionTracerLib.h StackTrace.h DESTINATION $
Definition: CMakeLists.txt:1

Definition at line 329 of file HTTPHeaders.h.

Referenced by proxygen::HTTPHeaders::exists(), proxygen::HTTPHeaders::forEachValueOfHeader(), proxygen::HTTPHeaders::remove(), and proxygen::HTTPHeaders::transferHeaderIfPresent().