Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: remove server.pause
Browse files Browse the repository at this point in the history
This functionality was removed when libuv landed in node. It is useless
and can be easily implemented in user-land.
  • Loading branch information
indutny committed Feb 21, 2012
1 parent 96a137a commit c6019b8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions doc/api/net.markdown
Expand Up @@ -136,12 +136,6 @@ This function is asynchronous. When the server has been bound,
the last parameter `listeningListener` will be added as an listener for the
['listening'](#event_listening_) event.

#### server.pause(msecs)

Stop accepting connections for the given number of milliseconds (default is
one second). This could be useful for throttling new connections against
DoS attacks or other oversubscription.

#### server.close()

Stops the server from accepting new connections. This function is
Expand Down

0 comments on commit c6019b8

Please sign in to comment.