MinIO C++ SDK
include
s3_http.h
1
// MinIO C++ Library for Amazon S3 Compatible Cloud Storage
2
// Copyright 2021 MinIO, Inc.
3
//
4
// Licensed under the Apache License, Version 2.0 (the "License");
5
// you may not use this file except in compliance with the License.
6
// You may obtain a copy of the License at
7
//
8
// http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
16
#ifndef _S3_HTTP_H
17
#define _S3_HTTP_H
18
19
#include <iostream>
20
#include <map>
21
22
using namespace
std;
23
24
namespace
Minio
25
{
26
namespace
Http
27
{
31
enum class
Method
32
{
33
HTTP_GET,
34
HTTP_POST,
35
HTTP_DELETE,
36
HTTP_PUT,
37
HTTP_HEAD,
38
HTTP_PATCH
39
};
40
41
std::string methodToString(Method enum_val);
42
43
const
std::string PathSeparator =
"/"
;
44
45
typedef
std::multimap<std::string, std::string> HeaderValueCollection;
46
}
// namespace Http
47
}
// namespace Minio
48
49
#endif
/* _S3_HTTP_H */
Generated by
1.8.18