1 #ifndef IPFS_IPFS_REQUEST_H_
2 #define IPFS_IPFS_REQUEST_H_
4 #include <ipfs_client/response_semantic.h>
5 #include <vocab/slash_delimited.h>
17 using Cleanup = std::function<void()>;
23 ResponseSemantic semantic_;
24 std::vector<Cleanup> cleanups_;
31 ResponseSemantic semantic()
const {
return semantic_; }
36 void new_path(std::string_view);
37 void to_cleanup(Cleanup);
39 static std::shared_ptr<IpfsRequest> fromUrl(std::string url, Finisher);
Definition: ipfs_request.h:15
Definition: response.h:17
Definition: slash_delimited.h:15