diff options
Diffstat (limited to 'zenserver/upstream/jupiter.h')
| -rw-r--r-- | zenserver/upstream/jupiter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/zenserver/upstream/jupiter.h b/zenserver/upstream/jupiter.h index dd01cfb86..c17ffb047 100644 --- a/zenserver/upstream/jupiter.h +++ b/zenserver/upstream/jupiter.h @@ -2,6 +2,7 @@ #pragma once +#include <zencore/httpserver.h> #include <zencore/refcount.h> #include <zencore/thread.h> @@ -47,9 +48,14 @@ public: CloudCacheSession(CloudCacheClient* OuterClient); ~CloudCacheSession(); + // Key-value cache operations IoBuffer Get(std::string_view BucketId, std::string_view Key); void Put(std::string_view BucketId, std::string_view Key, IoBuffer Data); + // Structured cache operations + IoBuffer Get(std::string_view BucketId, const IoHash& Key); + void Put(std::string_view BucketId, const IoHash& Key, IoBuffer Data, HttpContentType ContentType); + private: RefPtr<CloudCacheClient> m_CacheClient; detail::CloudCacheSessionState* m_SessionState; |