| 46 | const std::function<bool()> & should_stop; |
| 47 | |
| 48 | std::string get_param(const std::string & key, const std::string & def = "") const { |
| 49 | auto it = params.find(key); |
| 50 | if (it != params.end()) { |
| 51 | return it->second; |
| 52 | } |
| 53 | return def; |
| 54 | } |
| 55 | }; |
| 56 | |
| 57 | struct server_http_context { |
no test coverage detected