ipfs-chromium
library
include
ipfs_client
http_request_description.h
1
#ifndef IPFS_HTTP_REQUEST_DESCRIPTION_H_
2
#define IPFS_HTTP_REQUEST_DESCRIPTION_H_
3
4
#include <optional>
5
#include <string>
6
7
#include <cstdint>
8
9
namespace
ipfs {
12
struct
HttpRequestDescription
{
13
std::string url;
14
int
timeout_seconds;
15
std::string accept;
16
std::optional<std::size_t> max_response_size;
17
bool
operator==(
HttpRequestDescription
const
&)
const
;
18
bool
operator<(
HttpRequestDescription
const
&)
const
;
19
};
20
}
// namespace ipfs
21
22
#endif
// IPFS_HTTP_REQUEST_DESCRIPTION_H_
ipfs::HttpRequestDescription
Definition:
http_request_description.h:12
Generated by
1.9.1