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

Method is_header_set

dlib/http_client/http_client.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134// ----------------------------------------------------------------------------------------
135
136 bool http_client::is_header_set(const std::string& header_name) const
137 {
138 stringmap::const_iterator ci = headers.find(header_name);
139 return ci != headers.end() && !ci->second.empty();
140 }
141
142// ----------------------------------------------------------------------------------------
143

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected