You can use the EventSource API:
https://developer.mozilla.org/en-US/docs/Web/API/EventSource

Il giorno gio 24 apr 2025 alle ore 03:28 Kevin Chowski
<ke...@chowski.com> ha scritto:
>
> It would be nice to see an example of how to utilize this from the browser 
> rather than curl, e.g. some JavaScript client code.
>
> On Wednesday, April 23, 2025 at 10:49:27 AM UTC-6 Cheikh Seck wrote:
>>
>> Hi folks, I wanted to share a post I recently wrote that provides an 
>> overview of what SSE is and how to implement it with Go's standard library. 
>> Read about it here: 
>> https://medium.com/dev-genius/server-sent-events-with-go-998b54045b10?sk=e251c96f23b6b20b7e9237a1dd9d9cfb
>>
> --
> 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/c03263d3-74da-42e8-be4b-95c5a4bf2cb3n%40googlegroups.com.

-- 
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/CAK4fz2ppV9HzYiuVCgk5eL_qiDE4z3LQ-M_Jj4GMZK2trNYGdQ%40mail.gmail.com.

Reply via email to