mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
docs: remove server.pause
This functionality was removed when libuv landed in node. It is useless and can be easily implemented in user-land.
This commit is contained in:
@@ -156,12 +156,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([cb])
|
||||
|
||||
Stops the server from accepting new connections. This function is
|
||||
|
||||
Reference in New Issue
Block a user