MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / unregisterHandler

Method unregisterHandler

3ds/source/server.cpp:343–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void Server::unregisterHandler(const std::string& path)
344{
345 {
346 std::lock_guard<std::mutex> lock(handlersMutex);
347 handlers.erase(path);
348 uploadHandlers.erase(path);
349 }
350 Logging::info("Unregistered HTTP handler for path {}", path);
351}
352
353void Server::registerUploadHandler(const std::string& path, const std::string& tmpPath, Server::UploadHandler handler)
354{

Callers

nothing calls this directly

Calls 2

infoFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected