How to Implement Server-Sent Events in Go

How to Implement Server-Sent Events in Go

8.045 Lượt nghe
How to Implement Server-Sent Events in Go
Server-Sent Events (SSE) is a powerful web technology that enables real-time, unidirectional communication from servers to clients. In this video we implement a server in Go and a client in JS and explore the main building blocks. ---LINKS--- Code: https://github.com/plutov/packagemain/tree/master/30-sse Our Substack: https://packagemain.tech Follow me on X: https://x.com/pliutau ---TIMESTAMPS--- 00:00 Intro 02:30 Server Side 09:14 Message Format 13:35 Client Side 16:44 Demo 18:26 Outro