app.use { req, next, completion in print("[pid:\(Process.pid)]\t\(Time())\t\(req.path ?? "/")") next(to: req, result: completion) } // Routing app.get("/") { req, responder in responder { Response(body: "Welcome Slimane!") } } try! app.listen(port: 3000) // Server is listening at 0.0.0.0:3000 ΞϓϦέʔγϣϯͷىಈίʔυ