Skip to content

Commit 58c3488

Browse files
Jimmy99jameswpm
authored andcommitted
Update 08.2.md
typographical errors and improved readability
1 parent 3f0e34e commit 58c3488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/08.2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ WebSocket URLs begin with ws:// or wss://(SSL). The following figure shows the c
1414

1515
![](images/8.2.websocket.png?raw=true)
1616

17-
Figure 8.2 WebSocket principl
17+
Figure 8.2 WebSocket principle
1818

1919
## WebSocket principles
2020

@@ -99,7 +99,7 @@ As you can see, it's very easy to use the client side JavaScript functions to es
9999

100100
- 1)onopen: triggered after connection has been established.
101101
- 2)onmessage: triggered after receiving a message.
102-
- 3)onerror: triggered after an error has occurred..
102+
- 3)onerror: triggered after an error has occurred.
103103
- 4)onclose: triggered after the connection has closed.
104104

105105
Server code:

0 commit comments

Comments
 (0)