Skip to content

Commit 8694a06

Browse files
authored
docs: use correct term "Server-Sent Events" in guide (#1920)
This PR updates the terminology in `docs/guide.md` from **"Server-Side Events"** to the correct term **"Server-Sent Events" (SSE)**. Changes: - Rename the section heading from `Server-Side Events` to `Server-Sent Events`. - Update the description text to use “server-sent events” consistently. This aligns the docs with the standard naming used in the HTML specification and MDN Web Docs, and should make it easier for readers to search for related resources (e.g. “Server-Sent Events”, “SSE”, `EventSource`). ## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary.
1 parent 096682b commit 8694a06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
- [Async operations](#async-operations)
1717
- [Debugging Koa](#debugging-koa)
1818
- [HTTP2](#http2)
19-
- [Server-Side Events](#server-side-events)
19+
- [Server-Sent Events](#server-sent-events)
2020

2121
## Writing Middleware
2222

@@ -272,9 +272,9 @@ const server = http2.createSecureServer(serverOptions, onRequestHandler);
272272
server.listen(3000);
273273
```
274274

275-
## Server-Side Events
275+
## Server-Sent Events
276276

277-
An example of using server-side events with Koa:
277+
An example of using server-sent events with Koa:
278278

279279
```js
280280
import { PassThrough } from 'node:stream'

0 commit comments

Comments
 (0)