File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ skynet.start(function()
28
28
end )
29
29
```
30
30
31
- We launch a socket server(` listen 0.0.0.0:8000 ` ) And All client connections will be received via the socket.start callback.
31
+ We launch a socket server(` listen 0.0.0.0:8000 ` ) And All client connections will be received via the ` socket.start ` callback.
32
32
33
33
Create a ` Websocket.server ` object for each connection in the callback function and manage all events using the ` Websocket.server ` object.
34
34
74
74
return ws
75
75
```
76
76
77
- To simplify the use of Websocket.server, we have defined four callback methods(must) for everyday use.
77
+ To simplify the use of ` Websocket.server ` , we have defined four callback methods(must) for everyday use.
78
78
79
79
* ` on_open ` , When the connection has been established.
80
80
You can’t perform that action at this time.
0 commit comments