examples/ex1/root.rb in simple-httpd-0.3.4 vs examples/ex1/root.rb in simple-httpd-0.3.5
- old
+ new
@@ -1,4 +1,12 @@
+# This would be an example of sleeping for 1 sec with thin/eventmachine.
+#
+# aget "/" do
+# EM.add_timer(1) {
+# body { "hello sync" }
+# }
+# end
+
get "/" do
"root"
end
get "/hello" do