You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to test (check) status code of WebSocket close actions. Is there any way to do it?
I did not find neither any documentation about this nor examples in google.
In my project I would like to accept 1000 status code as well as 1013.
Could you help me with this and provide any examples of such implementation?
We're not currently checking the code of close frames. A close frame would trigger an error if it's received while there's an ongoing action: sending an outbound message or waiting for an inbound message.
IMHO, receiving a close frame during those step with a 1013 code should still be considered an error: your system is not able to withstand the load.
slandelle
changed the title
Cannot check status code on ws.close
HTTP: Cannot check status code on ws.close
Aug 5, 2021
Hi,
I would like to test (
check
) status code of WebSocket close actions. Is there any way to do it?I did not find neither any documentation about this nor examples in google.
In my project I would like to accept
1000
status code as well as1013
.Could you help me with this and provide any examples of such implementation?
I'm using example ws-code configured like:
I have no idea how to implement
check
function or anything which will be working to check status codes of my ws.close execution. Is it not supported?The text was updated successfully, but these errors were encountered: