I don't think it's quite so binary. Websockets are a lot more complex, require more sophisticated endpoints and load balancing. SSE has fine browser support in 2024, minus the ability to set auth headers. I think for cases with unidirectional communication, SSE is a choice worth evaluating.
On Wed, Oct 23, 2024 at 10:07 AM Robert Engels <reng...@ix.netcom.com> wrote: > Server sent events are effectively replaced by websockets. The latter is > more versatile and usually has better browser support. > > On Oct 23, 2024, at 8:54 AM, Alex Pliutau <a.pliu...@gmail.com> wrote: > > Does anyone use Server-Sent Events in their projects? If yes, for which > use cases? > https://youtu.be/nvijc5J-JAQ > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/dc670d28-42e6-4388-ba64-9bbc6c5e3053n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/dc670d28-42e6-4388-ba64-9bbc6c5e3053n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/3C9A2856-51D9-4AB5-952A-7B852E917076%40ix.netcom.com > <https://groups.google.com/d/msgid/golang-nuts/3C9A2856-51D9-4AB5-952A-7B852E917076%40ix.netcom.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CANGiwgZa8VDWypT-xb6ReqOxWj%2B%2BnMsPA7mWQ5Ts4j1u%2BTFLzg%40mail.gmail.com.