Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Some handy features of `nodeload` worth mentioning.
Content-Length: 50763
Connection: keep-alive

var sys = require('sys');
var util = require('util');
var http = require('http');
...

Expand All @@ -58,7 +58,7 @@ Some handy features of `nodeload` worth mentioning.
Serving progress report on port 8000.
Opening log files.
Received remote command:
sys.puts("hello!")
util.puts("hello!")
hello!

$ curl -i -d 'sys.puts("hello!")' localhost:8000/remote # executed in a separate terminal
$ curl -i -d 'util.puts("hello!")' localhost:8000/remote # executed in a separate terminal