3 ms·
This looks pretty awesome! I'd love to see an example using websockets. I've used Go for websockets in the past but find the boilerplate-to-custom code ratio i
by lux 5y ago
This looks pretty awesome!
I'd love to see an example using websockets. I've used Go for websockets in the past but find the boilerplate-to-custom code ratio isn't great.
Knowing Go has a solid webrtc library (https://github.com/pion/webrtc https://github.com/pion/webrtc), another cool feature would be webrtc support. Tons you can build with that!
- eandre 5y agoThanks! Encore does support dropping down to plain HTTP requests which lets you use Websockets, see [1]. We hope to make it more ergonomic and less boilerplate-y in the future, but it is supported :) [1] https://github.com/encoredev/examples/tree/main/websocket-echo-server https://github.com/encoredev/examples/tree/main/websocket-ec...
- lux 5y agoGood to know! Thanks for the example. Looking forward to giving this a spin!