philippseith / signalr

SignalR server and client in go
MIT License
131 stars 39 forks source link

Fallback on network blocking #174

Closed tsoeiroecore closed 12 months ago

tsoeiroecore commented 1 year ago

Curious.. Will this library automatically and seamlessly fall back to Long Polling and/or Server-Sent Events when WebSockets are not supported by the server or blocked by a firewall/proxy? It's not clear from the docs https://learn.microsoft.com/en-us/aspnet/core/signalr/introduction?view=aspnetcore-7.0#transports, so I just wanted to make sure. TY!

philippseith commented 1 year ago

The client negotiates SSE/WebSockets with the server, but is not able to handle blocked WebSockets.

philippseith commented 12 months ago

@tsoeiroecore See #175 for fallback when WebSockets are blocked