| 129 | } |
| 130 | |
| 131 | void HttpServer::SetUrlHandler(const string &url, IClientConnectionHandler *handler) { |
| 132 | this->urlhandler[url] = handler; |
| 133 | this->SetHandler(NULL); |
| 134 | } |
| 135 | |
| 136 | HttpServer::MicroHttpdResult HttpServer::callback(void *cls, MHD_Connection *connection, const char *url, const char *method, const char *version, |
| 137 | const char *upload_data, size_t *upload_data_size, void **con_cls) { |
no test coverage detected