Merge pull request #1073 from solarwrath/patch-1
Small typo in article about WebSockets
This commit is contained in:
commit
816bc5e8a6
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ Why should one ever use it?
|
|||
|
||||
The main reason: it's simpler. In many applications, the power of `WebSocket` is a little bit too much.
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
## Getting messages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue