Skip to content

Commit 816bc5e

Browse files
authored
Merge pull request #1073 from solarwrath/patch-1
Small typo in article about WebSockets
2 parents 8b07d7d + 975e496 commit 816bc5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 5-network/09-server-sent-events/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Why should one ever use it?
1818

1919
The main reason: it's simpler. In many applications, the power of `WebSocket` is a little bit too much.
2020

21-
We need to receve a stream of data from server: maybe chat messages or market prices, or whatever. That's what `EventSource` is good at. Also it supports auto-reconnect, something we need to implement manually with `WebSocket`. Besides, it's a plain old HTTP, not a new protocol.
21+
We need to receive a stream of data from server: maybe chat messages or market prices, or whatever. That's what `EventSource` is good at. Also it supports auto-reconnect, something we need to implement manually with `WebSocket`. Besides, it's a plain old HTTP, not a new protocol.
2222

2323
## Getting messages
2424

0 commit comments

Comments
 (0)