Skip to content

Commit

Permalink
doc/api: listed server.listen() parameters and done some minor correc…
Browse files Browse the repository at this point in the history
…tions

listed server.listen() optional parameters that are used in examples but
not documented and corrected some misleading commas.
 Changes :
  modified : doc/api/http.md : updated server.listen()
  modified : doc/api/fs.md
  modified : doc/api/stream.md
  • Loading branch information
vipul kumar committed Sep 3, 2021
1 parent c0f4522 commit 1694664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Expand Up @@ -1290,7 +1290,7 @@ event is emitted on the server object, and (by default) the socket is destroyed.
See [`server.timeout`][] for more information on how timeout behavior can be
customized.

### `server.listen([Port,] [host,] [callback])`
### `server.listen(Port [,host] [,callback])`

* `Port` {Number}
* `Host` {String}
Expand Down

0 comments on commit 1694664

Please sign in to comment.