We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d03f6f commit 59c5c5cCopy full SHA for 59c5c5c
doc/api/http.md
@@ -1705,8 +1705,10 @@ setTimeout(() => {
1705
added: v18.2.0
1706
-->
1707
1708
-Closes all connections connected to this server, including active connections
1709
-connected to this server which are sending a request or waiting for a response.
+Closes all established HTTP(S) connections connected to this server, including
+active connections connected to this server which are sending a request or
1710
+waiting for a response. This does _not_ destroy sockets upgraded to a different
1711
+protocol, such as WebSocket or HTTP/2.
1712
1713
> This is a forceful way of closing all connections and should be used with
1714
> caution. Whenever using this in conjunction with `server.close`, calling this
0 commit comments