MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / WebParamMap

Class WebParamMap

src/webInterface.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27};
28
29struct WebParamMap {
30 std::map<String, String> values;
31
32 bool has(const char *key) const { return values.find(String(key)) != values.end(); }
33 String get(const char *key) const {
34 auto it = values.find(String(key));
35 return it == values.end() ? String("") : it->second;
36 }
37};
38
39int command = 0;
40bool updateFromSd_var = false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected