This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
cmdsrv
mirror of
https://github.com/brettlangdon/cmdsrv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
4
Wiki
Activity
Browse Source
add 'quit' command to example
master
Brett Langdon
12 years ago
parent
37a007c18e
commit
9c958a50a9
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(
)
;
Write
Preview
Loading…
Cancel
Save