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/zenstore/include | |
| 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/zenstore/include')
| -rw-r--r-- | src/zenstore/include/zenstore/cache/cacherpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenstore/include/zenstore/cache/cacherpc.h b/src/zenstore/include/zenstore/cache/cacherpc.h index a98010a7c..da8cf69fe 100644 --- a/src/zenstore/include/zenstore/cache/cacherpc.h +++ b/src/zenstore/include/zenstore/cache/cacherpc.h @@ -92,6 +92,7 @@ struct CacheRpcHandler }; RpcResponseCode HandleRpcRequest(const CacheRequestContext& Context, + std::string_view UriNamespace, const ZenContentType ContentType, IoBuffer&& Body, uint32_t& OutAcceptMagic, |