app.use((req, res, next) => { console.log("middleware"); next(); }); app.get("/", (req, res) => { res.send("Hello iOSDC"); }); app.listen(); // => listening at 0.0.0.0:3000 import Slimane let app = Slimane() app.use { req, next, result in print("middleware") next.respond(to: req, result: result) } app.get("/") { req, responder in responder { Response(body: "Hello iOSDC") } } try! app.listen() // => listening at 0.0.0.0:3000 ίʔυΛExpressͱൺֱ ׂͱࣅͯ·͢Ͷɻ