We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8aae0de + c3c6554 commit dd9611eCopy full SHA for dd9611e
doc/ws.md
@@ -66,9 +66,9 @@ If `handleProtocols` is not set then the handshake is accepted regardless the va
66
67
If a property is empty then either an offered configuration or a default value is used.
68
69
-### server.close()
+### server.close([callback])
70
71
-Close the server and terminate all clients
+Close the server and terminate all clients, calls callback when done with an error if one occured.
72
73
### server.handleUpgrade(request, socket, upgradeHead, callback)
74
0 commit comments