diff options
Diffstat (limited to 'src/zenserver/proxy/httpproxystats.cpp')
| -rw-r--r-- | src/zenserver/proxy/httpproxystats.cpp | 12 |
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 |