Detecting premature connection close by client with Deno.serve
#20598
Replies: 1 comment
-
Solution here, either via request.signal, or via adding a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I'm serving a long response like this:
(the real version is actually
new Response(readableStream)
), then how would I detect if the client has disconnected/aborted the connection mid-way through the response being streamed back to them?Beta Was this translation helpful? Give feedback.
All reactions