Browse Source

docs: remove server.pause

This functionality was removed when libuv landed in node. It is useless
and can be easily implemented in user-land.
v0.9.1-release
Fedor Indutny 13 years ago
parent
commit
080ffb8b2c
  1. 6
      doc/api/net.markdown

6
doc/api/net.markdown

@ -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

Loading…
Cancel
Save