Skip to content

Commit 1f85d9c

Browse files
Update article.md
1 parent 717addc commit 1f85d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/11-websocket/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let socket = new WebSocket("ws://javascript.info");
1414
C'è anche il protocollo criptat `wss://`, utilizzato per i websockets HTTPS
1515

1616

17-
```smart header="Sceggli sempre `wss://`"
17+
```smart header="Sceggli sempre wss://"
1818
Il procotollo `wss://` non solo è criptato, ma è anche più affidabile.
1919
2020
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

Comments
 (0)