Jlll1 / Sutil-Template

Set of `dotnet new` templates for creating Sutil applications
MIT License
1 stars 2 forks source link

What is websocket used for? #12

Open DejanMilicic opened 2 years ago

DejanMilicic commented 2 years ago

I can see we have proxy for WebSocket calls

https://github.com/Jlll1/Sutil-Template/blob/main/templates/Sutil-Safe/webpack.config.js#L15-L19

Can you please explain what is the scenario for WebSocket calls in this template?

Jlll1 commented 2 years ago

Sutil-Safe uses Fable.Remoting for Client-Server communication, which in turn uses websockets.