userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cli.hpp
1
#
pragma
once
2
3
#
include
<
optional
>
4
#
include
<
string
>
5
6
#
include
<
userver
/
clients
/
http
/
client
.
hpp
>
7
#
include
<
userver
/
s3api
/
clients
/
s3api
.
hpp
>
8
9
#
include
"credentials.hpp"
10
#
include
"options.hpp"
11
12
USERVER_NAMESPACE_BEGIN
13
14
namespace
s3api::cli {
15
16
struct
Result
{
17
std::string body;
18
std::optional<std::string> etag;
19
};
20
21
ClientPtr MakeClient(clients::http::Client& http_client,
const
Options
& options,
const
Credentials
& credentials);
22
Result
Execute(
const
Client
& client,
const
Options
& options, std::string body);
23
24
}
// namespace s3api::cli
25
26
USERVER_NAMESPACE_END
tools
cli
cli.hpp
Generated on
for userver by
Doxygen
1.17.0