aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/jupiter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/upstream/jupiter.cpp')
-rw-r--r--zenserver/upstream/jupiter.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/zenserver/upstream/jupiter.cpp b/zenserver/upstream/jupiter.cpp
index 523ee61f4..1078e5240 100644
--- a/zenserver/upstream/jupiter.cpp
+++ b/zenserver/upstream/jupiter.cpp
@@ -150,6 +150,28 @@ CloudCacheSession::Filter(std::string_view BucketId, const std::vector<IoHash>&
//////////////////////////////////////////////////////////////////////////
+IoBuffer
+CloudCacheSession::Get(std::string_view BucketId, const IoHash& Key)
+{
+ StringBuilder<64> KeyString;
+ Key.ToHexString(KeyString);
+
+ return Get(BucketId, KeyString);
+}
+
+void
+CloudCacheSession::Put(std::string_view BucketId, const IoHash& Key, IoBuffer Data, HttpContentType ContentType)
+{
+ ZEN_UNUSED(ContentType);
+
+ StringBuilder<64> KeyString;
+ Key.ToHexString(KeyString);
+
+ return Put(BucketId, KeyString, Data);
+}
+
+//////////////////////////////////////////////////////////////////////////
+
std::string
CloudCacheAccessToken::GetAuthorizationHeaderValue()
{