Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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