ipfs-chromium
Loading...
Searching...
No Matches
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
9namespace ipfs {
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_
Definition http_request_description.h:12