Is there any way reject WebSocket connection #1627
Answered
by
davidpdrsn
cwhan-yonsei
asked this question in
Q&A
-
Sometimes a WebSocket upgrade from a client needs to be rejected.
|
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Dec 8, 2022
Replies: 1 comment
-
Just don't call |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cwhan-yonsei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just don't call
on_upgrade
and return a different response.