psanford / wormhole-william

End-to-end encrypted file transfer. A magic wormhole CLI and API in Go (golang).
MIT License
1.08k stars 55 forks source link

websocket: switch to nhooyr.io/websocket #44

Closed psanford closed 3 years ago

psanford commented 3 years ago

This allows for use from a wasm environment.

Jacalz commented 3 years ago

How does this compare performance wise to the old websocket library?

psanford commented 3 years ago

How does this compare performance wise to the old websocket library?

The websocket library is only used to talk to the rendezvous server. I would expect any library performance differences to be negligible compared to the network latency involved in the actual file transfer part of the process.