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

Method add_header

libi2pd/HTTP.cpp:271–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 }
270
271 void HTTPMsg::add_header(const char *name, const std::string & value, bool replace) {
272 add_header(name, value.c_str(), replace);
273 }
274
275 void HTTPMsg::add_header(const char *name, const char *value, bool replace) {
276 std::size_t count = headers.count(name);

Callers 6

SendProxyErrorMethod · 0.80
SendRedirectMethod · 0.80
mainFunction · 0.80
HandleRequestMethod · 0.80
HandleCommandMethod · 0.80
SendReplyMethod · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64