Skip to content

Commit

Permalink
added documentation for close callback
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed Mar 28, 2016
1 parent 8aae0de commit c3c6554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/ws.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ If `handleProtocols` is not set then the handshake is accepted regardless the va

If a property is empty then either an offered configuration or a default value is used.

### server.close()
### server.close([callback])

Close the server and terminate all clients
Close the server and terminate all clients, calls callback when done with an error if one occured.

### server.handleUpgrade(request, socket, upgradeHead, callback)

Expand Down

0 comments on commit c3c6554

Please sign in to comment.