How to handle aborted request / Browser reload while sending a stream ? #216
-
|
hi, error i am getting |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Refer to https://github.com/kartikk221/hyper-express/blob/master/docs/Request.md#request-events |
Beta Was this translation helpful? Give feedback.
-
|
Also, If you are sending events like you are, look into using the |
Beta Was this translation helpful? Give feedback.
Refer to https://github.com/kartikk221/hyper-express/blob/master/docs/Request.md#request-events
You may listen for the
abortorclosedevent both of which will indicate no Response write operations can be performed going forward.