Add mbed helpers

This commit is contained in:
2025-01-23 13:34:38 -06:00
parent f235ab11f6
commit 1336d84006
11 changed files with 763 additions and 4 deletions

View File

@ -642,7 +642,13 @@ namespace Tesses::Framework::Http {
}
}
bool HttpDictionary::AnyEquals(std::string key, std::string value)
{
if(this->kvp.count(key) > 0)
for(auto v : this->kvp[key]) if(v == value) return true;
// for(auto v : item.second) if(v == value) return true;
return false;
}
void HttpDictionary::Clear()
{