Fix typo in README (#625)
This commit is contained in:
parent
9dcffda7ae
commit
1184bbe4cb
@ -197,7 +197,7 @@ svr.Get("/stream", [&](const Request &req, Response &res) {
|
|||||||
// prepare data...
|
// prepare data...
|
||||||
sink.write(data.data(), data.size());
|
sink.write(data.data(), data.size());
|
||||||
} else {
|
} else {
|
||||||
done(); // No more data
|
sink.done(); // No more data
|
||||||
}
|
}
|
||||||
return true; // return 'false' if you want to cancel the process.
|
return true; // return 'false' if you want to cancel the process.
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user