Replies: 1 comment 1 reply
-
The websocket.close event in ASGI does not allow a payload to be included. I'll have to think about this to see if there is any way within the ASGI and Socket.IO rules to pass on an error message with a rejection. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to implement ConnectionRefused exception messaging to signal to my clients why their connections are refused.
However, my clients use the socket.io library with the websocket transport only (polling transport disabled). And it seems that that triggers the following codepath:
And the payload is never returned to the client.
Does this mean that it only works with the socket.io polling transport?
Beta Was this translation helpful? Give feedback.
All reactions