starlette
starlette copied to clipboard
Add WebSocketException and support for WS handlers
- Replaces #527
Missing
-
[ ] Address what @tomchristie said on https://github.com/encode/starlette/pull/527#discussion_r343613065:
-
[ ] Check how this PR works interacting with the server.
@Kludex just fyi I updated this branch and fixed all issues
don't worry :)
Any updates?
Any updates or help needed on this?
Any updates on this ?
No.
Update here: I'll be working on this on the following weeks. If my memory doesn't fail me, this PR should be completed, but I need to implement something (which I don't know what, I need to check) on uvicorn.
I've rebased the PR, add the reason
field on the WebSocketException
, and updated the PR description.
Any update on this one?
No.
I'm going to work on this.
This PR is completed.
@tomchristie Would you mind checking it?
Considering the comment you made (described in the description), I've removed the logic from the ServerErrorMiddleware
. Instead, I've created a follow-up on https://github.com/Kludex/starlette/pull/22, do you think that makes sense?
Thanks @tomchristie @tiangolo 🎉