Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-github committed Jul 18, 2015
1 parent 5059401 commit ad1df21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/api/net.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ shown below.

Stops the server from accepting new connections and keeps existing
connections. This function is asynchronous, the server is finally
closed when all connections are ended and the server emits a `'close'`
event. The last parameter `callback` will be added as an listener for the
['close'][] event.
closed when all connections are ended and the server emits a ['close'][] event.
The optional `callback` will be called once the `'close'` event occurs. Unlike
that event, it will be called with an Error as its only argument if the server
was not open when it was closed.

### server.address()

Expand Down

0 comments on commit ad1df21

Please sign in to comment.