Skip to content

Commit

Permalink
更新README
Browse files Browse the repository at this point in the history
  • Loading branch information
CandyMi committed Oct 30, 2019
1 parent 0a97e12 commit 725d1e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ skynet.start(function()
end)
```

We launch a socket server(`listen 0.0.0.0:8000`) And All client connections will be received via the socket.start callback.
We launch a socket server(`listen 0.0.0.0:8000`) And All client connections will be received via the `socket.start` callback.

Create a `Websocket.server` object for each connection in the callback function and manage all events using the `Websocket.server` object.

Expand Down Expand Up @@ -74,7 +74,7 @@ end
return ws
```

To simplify the use of Websocket.server, we have defined four callback methods(must) for everyday use.
To simplify the use of `Websocket.server`, we have defined four callback methods(must) for everyday use.

* `on_open`, When the connection has been established.

Expand Down

0 comments on commit 725d1e6

Please sign in to comment.