Skip to content

How to detect client disconnects on StreamingHttpResponse (Server Side Events)? #2338

Closed Answered by Kludex
AlTosterino asked this question in Q&A
Discussion options

You must be logged in to vote

It's a django-ninja issue. Uvicorn sends the http.disconnect event to the application as expected.

Replies: 2 comments

Comment options

Kludex
May 15, 2024
Maintainer Sponsor

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

You must be logged in to vote
0 replies
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