Skip to content

How to handle aborted request / Browser reload while sending a stream ? #216

Closed Answered by kartikk221
geminigeek asked this question in Q&A
Discussion options

You must be logged in to vote

Refer to https://github.com/kartikk221/hyper-express/blob/master/docs/Request.md#request-events
You may listen for the abort or closed event both of which will indicate no Response write operations can be performed going forward.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by kartikk221
Comment options

You must be logged in to vote
1 reply
@geminigeek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants