Browse Source

add 'quit' command to example

master
Brett Langdon 12 years ago
parent
commit
9c958a50a9
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      example.js

+ 4
- 0
example.js View File

@ -14,4 +14,8 @@ server.on("set", function(connection, key, value){
connection.write("SAVED\r\n");
});
server.on("quit", function(connection){
connection.end();
});
server.start();

Loading…
Cancel
Save