Skip to content

Commit 23f48dc

Browse files
authored
Update README.md (#58)
1 parent 576578a commit 23f48dc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ It should be configured at `app/router.js` refer to the last chapter.
250250
Besides that, there are several system Event:
251251

252252
- `disconnecting` doing the disconnect
253-
- `disconnect` connection has disconnected.
253+
- `disconnect` connection has disconnected
254254
- `error` Error occured
255255

256256
Example:
@@ -275,17 +275,17 @@ module.exports = (app) => {
275275

276276
### Session
277277

278-
The session is supported by `egg-socket.io`. It behaviour just like the normal HTTP session.
278+
The session is supported by `egg-socket.io`. It's behaviour just like the normal HTTP session.
279279

280-
Session creates or check just happens at the handshake period. Session can be accessed by `ctx.session` in packetMiddleware and controller, but it's only created at the at the handshake period.
280+
Session creates or check just happens at the handshake period. Session can be accessed by `ctx.session` in packetMiddleware and controller, but it's only created at the handshake period.
281281

282282
The feature is powered by [egg-session](https://github.com/eggjs/egg-session), make sure it has been enabled.
283283

284284
## Cluster
285285

286-
If your Socket.IO service is powered by mutil server, you must think about cluster solution.It can't work without cluster like broadcast ,rooms and so on.
286+
If your Socket.IO service is powered by mutil server, you must think about cluster solution. It can't work without cluster like broadcast, rooms and so on.
287287

288-
It's very easy to implement sharing source and event dispatch with with [socket.io-redis](https://github.com/socketio/socket.io-redis) built in.
288+
It's very easy to implement sharing source and event dispatch with [socket.io-redis](https://github.com/socketio/socket.io-redis) built in.
289289

290290
config at `config/config.${env}.js`
291291

0 commit comments

Comments
 (0)