Flying-Toast / simple-websockets

MIT License
17 stars 7 forks source link

Secure websockets (wss:// protocol) #28

Open leo848 opened 10 months ago

leo848 commented 10 months ago

Is it possible to use this crate to implement a secure websocket server that can be accessed via the wss:// protocol?

This is not because I send sensible data over this websocket (only arrays of numbers, in fact), but that it is not possible to use insecure WebSockets in https contexts. Any website that does not use https will be deemed insecure (for good reason), which means that I would now have to switch to another crate just because of this. Or is there some possibiliy I wasn't aware of?

Flying-Toast commented 10 months ago

wss:// is currently not supported, but I'd be happy to review any PRs for it :)