blob: e602df8c42537cc543bbd13dcae36010ca1c3bbf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include <zenhttp/httpserver.h>
#include <zencore/logging.h>
namespace zen {
/** Simple Object Store API
*
* Implements an API shared with Jupiter
*
* - Objects (compact binary), named and private
* - Blobs (unstructured binary), named and private
*
*/
class HttpCommonStructuredObjectStore : public zen::HttpService
{
public:
HttpCommonStructuredObjectStore();
virtual ~HttpCommonStructuredObjectStore();
virtual const char* BaseUri() const override;
virtual void HandleRequest(zen::HttpServerRequest& HttpServiceRequest) override;
private:
spdlog::logger& m_Log;
zen::HttpRequestRouter m_Router;
};
} // namespace zen
|