Pass "last" bool to res->onData

This commit is contained in:
Alex Hultman
2019-01-07 03:05:19 +01:00
parent 4fde553d03
commit 47467ab1e5
4 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ private:
std::function<void()> onAborted;
//std::function<void()> onData;
std::function<void(std::string_view)> inStream;
std::function<void(std::string_view, bool)> inStream;
std::function<std::pair<bool, std::string_view>(int)> outStream;
/* Outgoing offset */
int offset = 0;