4 ms·
Support is getting there on the browsers' side, but you need a backend that supports HTTP3+WebTransport - barely any out there
by chris_pie 2y ago
Support is getting there on the browsers' side, but you need a backend that supports HTTP3+WebTransport - barely any out there
- thot_experiment 2y agoYup, as I have found out over the last 5 hours. I managed to get a handshake but it's nowhere near the convenience of something like WebSockets. The security circus you have to go through to get even a handshake working is absolutely absurd, all sorts of extremely poorly documented certificate requirements and you'll be lucky to get an error message that helps you in any way. I'm getting ready to give up for the day, I will definitely make a top level HN post if I get a solution working and documented. Meanwhile https://github.com/achingbrain/webtransport-echo-server https://github.com/achingbrain/webtransport-echo-server this is the best we have for a minimal working node example.
- chris_pie 2y agoSurprisingly, socket.io supports WebTransport: https://socket.io/get-started/webtransport https://socket.io/get-started/webtransport The guys at Colyseus (a JS library for multiplayer games netcode) also added support, in a preview version for now.