Created
July 8, 2010 06:29
-
-
Save swannodette/467704 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns clj-play.aleph | |
(:use aleph)) | |
(defn hello-world [request] | |
(respond! request | |
{:status 200 | |
:headers {"Content-Type" "text/html"} | |
:body "Hello Clojure!"})) | |
(run-aleph hello-world {:port 8080}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment