You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 5-network/11-websocket/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ let socket = new WebSocket("*!*ws*/!*://javascript.info");
15
15
There's also encrypted `wss://` protocol. It's like HTTPS for websockets.
16
16
17
17
```smart header="Always prefer `wss://`"
18
-
The `wss://` protocol not only encrypted, but also more reliable.
18
+
The `wss://` protocol is not only encrypted, but also more reliable.
19
19
20
20
That's because `ws://` data is not encrypted, visible for any intermediary. Old proxy servers do not know about WebSocket, they may see "strange" headers and abort the connection.
0 commit comments