MCPcopy Create free account
hub / github.com/davisking/dlib / get_header

Method get_header

dlib/http_client/http_client.cpp:108–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106// ----------------------------------------------------------------------------------------
107
108 std::string http_client::get_header(const std::string& header_name) const
109 {
110 stringmap::const_iterator ci = headers.find(header_name);
111 return ci != headers.end() ? ci->second : std::string();
112 }
113
114// ----------------------------------------------------------------------------------------
115

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected