Signature
0_StringMap
Associative container mapping String keys to String values.
StringMap is an alias for std::map<String, String>.
Common Uses
StringMap commonly appears in:
context.paramscontext.getcontext.postcontext.cookiescontext.sessioncontext.header
Because it uses std::map, map["key"] will create an empty entry when that key does not already exist.
Helpers such as parse_query() and encode_query() convert between query strings and StringMap values.
Example
StringMap params; params["page"] = "docs"; print(params["page"], "\n");
Output
docs