diff options
| author | Stefan Boberg <[email protected]> | 2021-09-09 14:03:07 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-09 14:03:07 +0200 |
| commit | bf35035fc235d4a404b0829bd5b3045a0bde450f (patch) | |
| tree | f8c07ce1fd1ed577b3f71f8dcb9ecbaf8090f9db /zencore/httpsys.cpp | |
| parent | Made HttpServer an abstract interface, and moved remaining implementation spe... (diff) | |
| download | zen-bf35035fc235d4a404b0829bd5b3045a0bde450f.tar.xz zen-bf35035fc235d4a404b0829bd5b3045a0bde450f.zip | |
HttpServer::AddEndpoint -> HttpServer::RegisterService
Diffstat (limited to 'zencore/httpsys.cpp')
| -rw-r--r-- | zencore/httpsys.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zencore/httpsys.cpp b/zencore/httpsys.cpp index 0fc0c0ef6..da07a13dd 100644 --- a/zencore/httpsys.cpp +++ b/zencore/httpsys.cpp @@ -784,7 +784,7 @@ HttpSysServer::IssueNewRequestMaybe() } void -HttpSysServer::AddEndpoint(const char* UrlPath, HttpService& Service) +HttpSysServer::RegisterService(const char* UrlPath, HttpService& Service) { if (UrlPath[0] == '/') { @@ -1240,9 +1240,9 @@ HttpSysServer::RequestExit() m_ShutdownEvent.Set(); } void -HttpSysServer::AddEndpoint(HttpService& Service) +HttpSysServer::RegisterService(HttpService& Service) { - AddEndpoint(Service.BaseUri(), Service); + RegisterService(Service.BaseUri(), Service); } #endif // ZEN_PLATFORM_WINDOWS |