| 8724 | } |
| 8725 | |
| 8726 | inline std::vector<std::string> url_search_params::get_all( |
| 8727 | const std::string_view key) { |
| 8728 | std::vector<std::string> out{}; |
| 8729 | |
| 8730 | for (auto ¶m : params) { |
| 8731 | if (param.first == key) { |
| 8732 | out.emplace_back(param.second); |
| 8733 | } |
| 8734 | } |
| 8735 | |
| 8736 | return out; |
| 8737 | } |
| 8738 | |
| 8739 | inline bool url_search_params::has(const std::string_view key) noexcept { |
| 8740 | auto entry = std::ranges::find_if( |
no test coverage detected