diff options
| author | Stefan Boberg <[email protected]> | 2021-11-18 21:14:01 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-11-18 21:14:01 +0100 |
| commit | 4339b4f6772ad543002044c002f807c7dcdf4879 (patch) | |
| tree | 564d44209d6331cb2cb7d5ac9ef2fee1de181d2f /zenhttp/httpserver.cpp | |
| parent | merged from main (diff) | |
| download | zen-4339b4f6772ad543002044c002f807c7dcdf4879.tar.xz zen-4339b4f6772ad543002044c002f807c7dcdf4879.zip | |
rpc: tactical checkin
Diffstat (limited to 'zenhttp/httpserver.cpp')
| -rw-r--r-- | zenhttp/httpserver.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/zenhttp/httpserver.cpp b/zenhttp/httpserver.cpp index f40836c4a..011468715 100644 --- a/zenhttp/httpserver.cpp +++ b/zenhttp/httpserver.cpp @@ -565,6 +565,24 @@ HttpRequestRouter::HandleRequest(zen::HttpServerRequest& Request) ////////////////////////////////////////////////////////////////////////// +HttpRpcHandler::HttpRpcHandler() +{ +} + +HttpRpcHandler::~HttpRpcHandler() +{ +} + +void +HttpRpcHandler::AddRpc(std::string_view RpcId, std::function<void(CbObject& RpcArgs)> HandlerFunction) +{ + ZEN_UNUSED(RpcId, HandlerFunction); + + +} + +////////////////////////////////////////////////////////////////////////// + enum class HttpServerClass { kHttpAsio, |