lightninglabs / lightning-node-connect

MIT License
79 stars 22 forks source link

multi: change websocket close status #47

Closed ellemouton closed 2 years ago

ellemouton commented 2 years ago

fixes #46

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.