Skip to content

Commit 080ffb8

Browse files
committed
docs: remove server.pause
This functionality was removed when libuv landed in node. It is useless and can be easily implemented in user-land.
1 parent b9127eb commit 080ffb8

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

doc/api/net.markdown

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ This function is asynchronous. When the server has been bound,
156156
the last parameter `listeningListener` will be added as an listener for the
157157
['listening'](#event_listening_) event.
158158

159-
#### server.pause(msecs)
160-
161-
Stop accepting connections for the given number of milliseconds (default is
162-
one second). This could be useful for throttling new connections against
163-
DoS attacks or other oversubscription.
164-
165159
#### server.close([cb])
166160

167161
Stops the server from accepting new connections. This function is

0 commit comments

Comments
 (0)