Skip to content

Commit e40accf

Browse files
swhgoondarrachequesne
authored andcommitted
[docs] Fix documentation for 'connect' event (#2898)
1 parent 01a4623 commit e40accf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,9 @@ io.use(function(socket, next){
312312

313313
#### Event: 'connect'
314314

315-
- `error` _(Object)_ error object
315+
- `socket` _(Socket)_ socket connection with client
316316

317-
Fired upon a reconnection attempt error.
317+
Fired upon a connection from client.
318318

319319
#### Event: 'connection'
320320

0 commit comments

Comments
 (0)