docs: remove server.pause
authorFedor Indutny <fedor.indutny@gmail.com>
Tue, 21 Feb 2012 14:42:15 +0000 (20:42 +0600)
committerFedor Indutny <fedor.indutny@gmail.com>
Tue, 21 Feb 2012 14:52:40 +0000 (20:52 +0600)
This functionality was removed when libuv landed in node. It is useless
and can be easily implemented in user-land.

doc/api/net.markdown

index 7b844b5..49cf5b0 100644 (file)
@@ -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