| 309 | } |
| 310 | |
| 311 | void server_http_context::stop() const { |
| 312 | if (pimpl->srv) { |
| 313 | pimpl->srv->stop(); |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | static void set_headers(httplib::Response & res, const std::map<std::string, std::string> & headers) { |
| 318 | for (const auto & [key, value] : headers) { |