Skip to content
Permalink
Browse files

doc: various improvements to net.md

* Improve general description of the module, specifically,
  explain that it provides TCP or local communications
  (domain sockets on UNIX, named pipes on Windows) functionalities.
* Improve explanation of `allowHalfOpen`
* Nest the overloaded `server.listen()` API in a list, explain
  the common arguments and notes in the same place.

Some minor improvements:

* Add description to the `net.Server` constructor
* Add type annotations to `server.listen()`
* Add contexts to method links

PR-URL: #11636
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information...
joyeecheung committed Mar 1, 2017
1 parent 202b07f commit 3b05153cdccdaaa74e21414541d70de7937f7965
Showing with 163 additions and 123 deletions.
  1. +163 −123 doc/api/net.md

0 comments on commit 3b05153

Please sign in to comment.
You can’t perform that action at this time.