blob: 283735cbd6f4fa060ec61f62b735e2f72649f3d1 (
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
|
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include <zencore/httpserver.h>
#include <spdlog/spdlog.h>
/** 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;
};
|