aboutsummaryrefslogtreecommitdiff
path: root/zencore/httpsys.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-09 14:03:07 +0200
committerStefan Boberg <[email protected]>2021-09-09 14:03:07 +0200
commitbf35035fc235d4a404b0829bd5b3045a0bde450f (patch)
treef8c07ce1fd1ed577b3f71f8dcb9ecbaf8090f9db /zencore/httpsys.h
parentMade HttpServer an abstract interface, and moved remaining implementation spe... (diff)
downloadzen-bf35035fc235d4a404b0829bd5b3045a0bde450f.tar.xz
zen-bf35035fc235d4a404b0829bd5b3045a0bde450f.zip
HttpServer::AddEndpoint -> HttpServer::RegisterService
Diffstat (limited to 'zencore/httpsys.h')
-rw-r--r--zencore/httpsys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/httpsys.h b/zencore/httpsys.h
index 7c0543e45..fbe293a47 100644
--- a/zencore/httpsys.h
+++ b/zencore/httpsys.h
@@ -29,7 +29,7 @@ public:
virtual void Initialize(int BasePort) override;
virtual void Run(bool TestMode) override;
virtual void RequestExit() override;
- virtual void AddEndpoint(HttpService& Service) override;
+ virtual void RegisterService(HttpService& Service) override;
private:
void Initialize(const wchar_t* UrlPath);
@@ -40,7 +40,7 @@ private:
inline bool IsOk() const { return m_IsOk; }
- void AddEndpoint(const char* Endpoint, HttpService& Service);
+ void RegisterService(const char* Endpoint, HttpService& Service);
void RemoveEndpoint(const char* Endpoint, HttpService& Service);
private: