When compiled in wasm, errors are thrown when attempting to close a websocket connection with StatusGoingAway. Things work properly if StatusNormalClosure is used instead.
The example client is updated with Disconnect and Reconnect buttons to demonstrate that disconnect/reconnect now works.
fixes #46
When compiled in wasm, errors are thrown when attempting to close a websocket connection with
StatusGoingAway
. Things work properly ifStatusNormalClosure
is used instead.The example client is updated with
Disconnect
andReconnect
buttons to demonstrate that disconnect/reconnect now works.