Permalink
Browse files

Simpler test

  • Loading branch information...
1 parent 82a7731 commit ee117dcc8d722fb2fbe664060bf28326fc360880 @noahhl committed Sep 25, 2011
Showing with 0 additions and 10 deletions.
  1. +0 −10 demo.R
View
10 demo.R
@@ -1,15 +1,5 @@
require('Rook')
-TestApp <- Rook::Builder$new(
- Rook::App$new(function(env) {
- req <- Rook::Request$new(env)
- res <- Rook::Response$new()
- res$write("Ok, I heard you loud and clear")
- res$finish()
- })
-)
-
rook <- Rhttpd$new()
-rook$add(name="TestApp", app=TestApp)
rook$start(listen="0.0.0.0", port=as.numeric(Sys.getenv("PORT")))
while(T) {

0 comments on commit ee117dc

Please sign in to comment.