| 346 | } |
| 347 | |
| 348 | static void set_headers(httplib::Response & res, const std::map<std::string, std::string> & headers) { |
| 349 | for (const auto & [key, value] : headers) { |
| 350 | res.set_header(key, value); |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | static std::map<std::string, std::string> get_params(const httplib::Request & req) { |
| 355 | std::map<std::string, std::string> params; |
no outgoing calls
no test coverage detected