Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: document http's server.listen return value
The server method returns `self` in order to allow chaining.

PR-URL: #4590
Fixes: #4571
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
  • Loading branch information
Sequoia authored and Myles Borins committed Jan 13, 2016
commit 80ad9520dc9d44d5e9c6a9f20fc731d3cdb43ed7
2 changes: 2 additions & 0 deletions doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ Listening on a file descriptor is not supported on Windows.
This function is asynchronous. The last parameter `callback` will be added as
a listener for the `'listening'` event. See also [`net.Server.listen()`][].

Returns `server`.

### server.listen(path[, callback])

Start a UNIX socket server listening for connections on the given `path`.
Expand Down