liveBook · Manning

Server-sent events

Server-Sent Events is a web standard for streaming text-based event updates one way from a server to a client over an HTTP connection.

How 2 Manning books explain it

AI Agents in Action, Second Edition

Server-Sent Events is an HTTP-based protocol for streaming event updates from a server to a client over a persistent connection.

How it is used
Connects agents and LLM applications to independently hosted MCP servers over HTTP.
How deep it goes
Explains deployment choices and configuration examples, but stops short of detailing the SSE protocol internals.
Examples
Uses MCP server commands, a localhost SSE URL, deployment diagrams, comparison tables, and transport-switching exercises.
What you can do after
Operate/configure MCP servers over SSE and switch an agent from STDIO using a server URL.

Read how AI Agents in Action, Second Edition explains server-sent events →

Go in Practice, Second Edition

Server-sent events are a web mechanism for continuously delivering text-based event updates from a server to a client over HTTP.

How it is used
Deploys persistent HTTP connections for lightweight, real-time, server-to-client notifications without polling.
How deep it goes
Explains the communication model and demonstrates a Go file-watching service, without developing bidirectional messaging.
Examples
Demonstrates a Go website that watches filesystem changes and reports file operations and byte lengths in real time.
What you can do after
Build a Go SSE service with fsnotify that streams directory changes to browser clients.

Read how Go in Practice, Second Edition explains server-sent events →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.