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);