Skip to content

Commit 8b7223d

Browse files
Copilotgaby
andauthored
πŸ“’ docs: restore SSE middleware wording
Agent-Logs-Url: https://github.com/gofiber/fiber/sessions/e15ef545-45b5-4ca4-8f1a-0cf1bcbe0198 Co-authored-by: gaby <835733+gaby@users.noreply.github.com>
1 parent a6cdee3 commit 8b7223d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€Ždocs/middleware/sse.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ id: sse
44

55
# SSE
66

7-
The SSE handler provides the transport pieces for Server-Sent Events: response headers, event formatting, flushing, heartbeat comments, and disconnect detection through `Flush` errors.
7+
The SSE middleware provides the transport pieces for Server-Sent Events: response headers, event formatting, flushing, heartbeat comments, and disconnect detection through `Flush` errors.
88

99
It intentionally does not include a hub, topics, authentication, replay storage, metrics, or external pub/sub bridges. Those are application concerns that can be composed around the stream handler.
1010

β€Ždocs/whats_new.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ For more details on these changes and migration instructions, check the [Session
16831683

16841684
### SSE
16851685

1686-
Fiber now includes an [SSE handler](./middleware/sse.md) for Server-Sent Events. It handles native
1686+
Fiber now includes an [SSE middleware](./middleware/sse.md) for Server-Sent Events. It handles native
16871687
`SendStreamWriter` setup, SSE response headers, event formatting, flushing, heartbeat comments, and
16881688
disconnect detection through flush errors while leaving application-level hubs, topics, replay stores, and
16891689
pub/sub bridges to user code or recipes.

0 commit comments

Comments
Β (0)