[docs] Fix wrong argument name in API.md (#2802)

This commit is contained in:
Andrea Accardo
2017-01-04 00:37:12 -05:00
committed by Damien Arrachequesne
parent a27802e19e
commit e04de3c2c8

View File

@@ -157,7 +157,7 @@ Attaches the `Server` to an engine.io instance on `httpServer` with the supplied
### server.attach(port[, options])
- `httpServer` _(Number)_ the port to listen on
- `port` _(Number)_ the port to listen on
- `options` _(Object)_
Attaches the `Server` to an engine.io instance on a new http.Server with the supplied `options` (optionally).