diff options
| author | Stefan Boberg <[email protected]> | 2024-09-23 19:28:26 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-09-23 19:28:26 +0200 |
| commit | b9d5ea52a837167b08113823f38e53b59b44a7fe (patch) | |
| tree | 6daa3416de9a7662c287f7267e7c398fccebd27c /src/zenserver/cache/httpstructuredcache.h | |
| parent | gc unused refactor (#165) (diff) | |
| download | zen-b9d5ea52a837167b08113823f38e53b59b44a7fe.tar.xz zen-b9d5ea52a837167b08113823f38e53b59b44a7fe.zip | |
Added namespace qualifier (optional) for z$ rpc requests (#166)
This change adds support for a namespace-qualified RPC endpoint for z$ at `/z$/<namespace>/$rpc` which may be used to validate RPC requests by URL inspection. The old scheme is still supported.
Diffstat (limited to 'src/zenserver/cache/httpstructuredcache.h')
| -rw-r--r-- | src/zenserver/cache/httpstructuredcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/cache/httpstructuredcache.h b/src/zenserver/cache/httpstructuredcache.h index 7dc8c4c21..812162efa 100644 --- a/src/zenserver/cache/httpstructuredcache.h +++ b/src/zenserver/cache/httpstructuredcache.h @@ -99,7 +99,7 @@ private: void HandleCacheChunkRequest(HttpServerRequest& Request, const CacheRef& Ref, CachePolicy PolicyFromUrl); void HandleGetCacheChunk(HttpServerRequest& Request, const CacheRef& Ref, CachePolicy PolicyFromUrl); void HandlePutCacheChunk(HttpServerRequest& Request, const CacheRef& Ref, CachePolicy PolicyFromUrl); - void HandleRpcRequest(HttpServerRequest& Request); + void HandleRpcRequest(HttpServerRequest& Request, std::string_view UriNamespace); void HandleDetailsRequest(HttpServerRequest& Request); void HandleCacheRequest(HttpServerRequest& Request); |