MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / GetHeader

Method GetHeader

libi2pd/HTTP.cpp:393–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 std::string HTTPReq::GetHeader (std::string_view name) const
394 {
395 for (auto& it : headers)
396 if (boost::iequals(it.first, name))
397 return it.second;
398 return "";
399 }
400
401 size_t HTTPReq::GetNumHeaders (std::string_view name) const
402 {

Callers 7

SanitizeHTTPRequestMethod · 0.45
HandleRequestMethod · 0.45
mainFunction · 0.45
CheckAuthMethod · 0.45
HandleRequestMethod · 0.45
PutI2NPMsgMethod · 0.45
SendFragmentedMessageMethod · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36