mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fix typo in README (#625)
This commit is contained in:
parent
9dcffda7ae
commit
1184bbe4cb
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ svr.Get("/stream", [&](const Request &req, Response &res) {
|
|||
// prepare data...
|
||||
sink.write(data.data(), data.size());
|
||||
} else {
|
||||
done(); // No more data
|
||||
sink.done(); // No more data
|
||||
}
|
||||
return true; // return 'false' if you want to cancel the process.
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue