HTTPHeaders.LAMBDA

Process the ordered list of values for the given header name: for each value, the function/functor/lambda-expression given as the second parameter will be executed. It should take one const string & parameter and return bool (false to keep processing, true to stop it). Example use: hdrs.forEachValueOfHeader("someheader", [&] (const string& val) { std::cout << val; return false; }); This method returns true if processing was stopped (by func returning true), and false otherwise.

struct HTTPHeaders
alias LAMBDA = bool delegate(
string value
)

Meta