MCPcopy Create free account
hub / github.com/FastLED/FastLED / header

Method header

src/fl/stl/asio/http/server.cpp.hpp:156–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154//==============================================================================
155
156optional<string> Request::header(const string& name) const {
157 for (auto it = mHeaders.begin(); it != mHeaders.end(); ++it) {
158 if (iequals(it->first, name)) {
159 return it->second;
160 }
161 }
162 return nullopt;
163}
164
165optional<string> Request::query(const string& param) const {
166 auto it = mQuery.find(param);

Callers 11

fetch_getFunction · 0.80
fetch_postFunction · 0.80
fetch_putFunction · 0.80
fetch_deleteFunction · 0.80
fetch_headFunction · 0.80
fetch_http_optionsFunction · 0.80
fetch_patchFunction · 0.80
read_requestMethod · 0.80
setupFunction · 0.80
setupFunction · 0.80
test_await_approachFunction · 0.80

Calls 3

iequalsFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

test_await_approachFunction · 0.64