Add http done/failed slots before starting request.

This commit is contained in:
Jari Sundell
2026-07-06 10:18:39 +02:00
committed by GitHub
parent cfad36bf12
commit 0494ce70c8
3 changed files with 12 additions and 7 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ public:
//
// Consider adding a flag to indicate whetever HttpQueue should
// delete the stream.
iterator insert(const std::string& url, std::shared_ptr<std::ostream> stream);
iterator insert(const std::string& url, std::shared_ptr<std::ostream> stream,
std::function<void()> done_fn, std::function<void(const std::string&)> failed_fn);
void erase(iterator itr);
void clear();