Reproduce steps:
1. obtain a WebSocket connection
2. close the connection with any reason from server side
3. when onClose method is invoked on the client side, check
isClosed() should be true
sendText() should throw IllegalStateException
But actually, two checks all fails.
I will provide a test to reproduce it.
1. obtain a WebSocket connection
2. close the connection with any reason from server side
3. when onClose method is invoked on the client side, check
isClosed() should be true
sendText() should throw IllegalStateException
But actually, two checks all fails.
I will provide a test to reproduce it.