~/talk

Kotlin on the server with Ktor

Talkat Codemotion Berlin 2019 · 2019-11-12..11-13· [kotlin, serverless]
slides:none on file

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

  1. 0:00Start
  2. 4:04Routing
  3. 8:08Application Config File
  4. 11:44Html
  5. 16:15Features
  6. 16:33Default Headers
  7. 17:25Install Default Headers
  8. 19:13Content Negotiation
  9. 22:09Support for Basic Authentication
  10. 22:43Basic Authentication
  11. 24:57Custom Header
  12. 27:52Nested Roots
  13. 35:26Deployment Options
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.