aboutsummaryrefslogtreecommitdiff
path: root/zenserver/monitoring/httpstats.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-11 13:18:37 +0200
committerStefan Boberg <[email protected]>2021-10-11 13:18:37 +0200
commit37bf16575d226e6b53579eb913f70f869d3c3ec4 (patch)
treea677062fe7a0c4c318b7a36cb94a18fd203996dc /zenserver/monitoring/httpstats.h
parentAdded lofreq timer update to httpsys main loop (diff)
downloadzen-37bf16575d226e6b53579eb913f70f869d3c3ec4.tar.xz
zen-37bf16575d226e6b53579eb913f70f869d3c3ec4.zip
stats: Added support for handler unregistration
Diffstat (limited to 'zenserver/monitoring/httpstats.h')
-rw-r--r--zenserver/monitoring/httpstats.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zenserver/monitoring/httpstats.h b/zenserver/monitoring/httpstats.h
index 1c3c79dd0..732815a9a 100644
--- a/zenserver/monitoring/httpstats.h
+++ b/zenserver/monitoring/httpstats.h
@@ -23,6 +23,7 @@ public:
virtual const char* BaseUri() const override;
virtual void HandleRequest(HttpServerRequest& Request) override;
void RegisterHandler(std::string_view Id, IHttpStatsProvider& Provider);
+ void UnregisterHandler(std::string_view Id, IHttpStatsProvider& Provider);
private:
spdlog::logger& m_Log;