Kotlin on the server with Ktor
summary
Ktor is a Kotlin coroutine-based web framework that shows concrete examples: an embedded Netty server, routing, static files, HTML DSL, multipart file upload, and JSON via kotlinx.serialization or Jackson. Demos include authentication, a tiny custom feature adding header ABC:DEF, and typed routes with Locations. Suspend handlers avoid thread blocking; tests run with withTestApplication without launching a server. Deploy targets include Jetty, Tomcat, CIO, Docker, Kubernetes, Heroku and Google Cloud.
AI-written summary · about
chapters (13)
- 0:00Start
- 4:04Routing
- 8:08Application Config File
- 11:44Html
- 16:15Features
- 16:33Default Headers
- 17:25Install Default Headers
- 19:13Content Negotiation
- 22:09Support for Basic Authentication
- 22:43Basic Authentication
- 24:57Custom Header
- 27:52Nested Roots
- 35:26Deployment Options








