MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / keyCallback

Method keyCallback

plugins/plugin_utils/plugin_HTTP.cpp:310–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void BZFSHTTPAuth::TSURLCallback::keyCallback(std::string& data, const std::string& key) {
311 if (compare_nocase(key, "WebAuthURL") == 0) {
312 data += URL;
313 }
314}
315
316bool ipIsLocal(const std::string& ip) {
317 std::vector<std::string> v = tokenize(ip, std::string("."), 0, false);

Callers 1

callKeyMethod · 0.45

Calls 7

bz_getLocaltimeFunction · 0.85
bz_getPublicPortFunction · 0.85
bz_getCurrentTimeFunction · 0.85
c_strMethod · 0.80
compare_nocaseFunction · 0.70
formatFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected