-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: when getting data from post await until isLast is set to true (#58)
* fix: when getting data from post await until isLast is set to true Documentation: https://unetworking.github.io/uWebSockets.js/generated/interfaces/HttpResponse.html\#onData.onData-1 Example: https://github.com/uNetworking/uWebSockets.js/blob/master/examples/JsonPost.js * fix: TS errors, add missing catch and refactor * fix: prevent write on socket after connection end --------- Co-authored-by: puria <[email protected]>
- Loading branch information
1 parent
c59e439
commit 0549669
Showing
1 changed file
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters