aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/proxy/httpproxystats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/proxy/httpproxystats.cpp')
-rw-r--r--src/zenserver/proxy/httpproxystats.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/zenserver/proxy/httpproxystats.cpp b/src/zenserver/proxy/httpproxystats.cpp
index 6aa3e5c9b..337be2417 100644
--- a/src/zenserver/proxy/httpproxystats.cpp
+++ b/src/zenserver/proxy/httpproxystats.cpp
@@ -140,6 +140,12 @@ HttpProxyStatsService::HandleRecordStatus(HttpServerRequest& Request)
Request.WriteResponse(HttpResponseCode::OK, Cbo.Save());
}
+void
+HttpProxyStatsService::HandleStatsRequest(HttpServerRequest& Request)
+{
+ Request.WriteResponse(HttpResponseCode::OK, CollectStats());
+}
+
CbObject
HttpProxyStatsService::CollectStats()
{
@@ -225,10 +231,4 @@ HttpProxyStatsService::CollectStats()
return Cbo.Save();
}
-void
-HttpProxyStatsService::HandleStatsRequest(HttpServerRequest& Request)
-{
- Request.WriteResponse(HttpResponseCode::OK, CollectStats());
-}
-
} // namespace zen