Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example Vert.x Clojure verticle
(ns hello
(:require [vertx.http :as http]))
(-> (http/server)
#(-> %
(http/add-header "Content-Type" "text/html")
(http/end "<html><head/><body></body><h1>Clojure + Vert.x</h1></html>")))
(http/listen 8080 ""))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.