Created
April 10, 2016 14:43
-
-
Save guilleiguaran/b7564ec3b246c410e5f2f778be88da21 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
import Kitura | |
import KituraNet | |
import KituraSys | |
let router = Router() | |
router.get("/") { | |
request, response, next in | |
response.send("Hello, World!") | |
next() | |
} | |
let server = HttpServer.listen(8090, delegate: router) | |
Server.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment