scratchyone / wasm-sockets

A rust WASM-specific websocket library
MIT License
31 stars 3 forks source link

Expose close event details? #2

Closed vpzomtrrfrt closed 1 year ago

vpzomtrrfrt commented 2 years ago

Currently, on_close is a function without any parameters. I would like to access the close event details to retrieve the close code, so it would be nice to have that passed in.