<@U81R2QEMU> that's how we create an embedded Jett...
# server
s
@g4sarma that's how we create an embedded Jetty in http4k:
Copy code
{ request: Request -> Response(OK).body("Hello World") }.asServer(Jetty(8000)).start().block()
g
@s4nchez Thanks for sharing that, i wasn't aware about the http4K library. Looks really good, let me take it for a spin 🙂
s
Hope it fits your needs. Feel free to join #http4k in case you need any assistance.
g
Awesome, thanks for that as well 🙂
o
Also consider #ktor or javalin
❤️ 1
1️⃣ 1