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

Method get_header

libi2pd/HTTP.cpp:290–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 }
289
290 std::string HTTPMsg::get_header(const std::string& name) const
291 {
292 auto it = headers.find(name);
293 if (it == headers.end())
294 return "";
295 else
296 return it->second;
297 }
298
299 int HTTPReq::parse(const char *buf, size_t len)
300 {

Callers 2

mainFunction · 0.80
ReseedRequestMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64