crossws
crossws copied to clipboard
Add a method to close the connection for Peer
Describe the feature
I noticed that there is no way to close the client on the server side. Ideally there should at least be a function Peer.close(code: number = 1000) Since ctx, each provider has different links.
Additional information
- [ ] Would you be willing to help implement this feature?