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
@@ -14,7 +14,7 @@ let socket = new WebSocket("ws://javascript.info");
14
14
C'è anche il protocollo criptat `wss://`, utilizzato per i websockets HTTPS
15
15
16
16
17
-
```smart header="Sceggli sempre `wss://`"
17
+
```smart header="Sceggli sempre wss://"
18
18
Il procotollo `wss://` non solo è criptato, ma è anche più affidabile.
19
19
20
20
Questo perchè i dati del `ws://` non sono criptati, visibili per qualunque intermediario. Server proxy molto vecchi, che non riconoscono l'implementazione WebSocket, potrebbero notare i suoi headers strani e chiudere la connessione.
0 commit comments