Describe what you would like to know or do
When I connect to a websocket server, and the server refuses the connection with status code 400 and sends some additional information, why it refused it, inside of http body, how can I get that body?
Describe the solution you'd considered
I tried the onClose but they body cant be found in there.
Describe what you would like to know or do When I connect to a websocket server, and the server refuses the connection with status code 400 and sends some additional information, why it refused it, inside of http body, how can I get that body?
Describe the solution you'd considered I tried the onClose but they body cant be found in there.