web_socket
web_socket copied to clipboard
How to get a websocket connection handshake status code?
Hi @dvmatyun ,
When connecting to a websocket, I would like to intercept the handshake status code (e.g., 101 WebSocket Protocol Handshake, 401 Unauthorized, 500 Internal Server Error) to inform the user of the reason why the connection was unsuccessful, such as invalid credentials.
Is there a way how to get these handshake details?
Thanks.