~/talk

A Server is Just a Function An Introduction to http4s

Talkat LambdaConf 2019 · 2019-06-05..06-07· [web-platform, scala]
slides:none on file

http4s presents concrete choices: a functional HTTP library for Scala http4s built on cats-effect and fs2 that makes requests, responses and bodies the same types for client and server client and server share request/response types. It uses Resource and Stream for deterministic cleanup Resource ensures acquisition and cleanup, supports middleware you can wrap around apps and clients, provides in‑memory route testing (no TCP) and server‑side WebSockets, with examples of composing, streaming, and safe shutdown.

AI-written summary · about

  1. 0:00Introduction
  2. 9:34Routing DSL
  3. 12:31Client
  4. 14:50Other Methods
  5. 19:37Creating a Client
  6. 21:24Testing the Client
  7. 23:48Resource
  8. 26:48Stream
  9. 29:11Resource Safety
  10. 33:06Accessibility
  11. 33:26Composing Functions
  12. 34:32Wrapping Functions
  13. 39:48Learn more
  14. 40:15Bonus slide
  15. 42:10Mock server
  16. 43:51Outro
~/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.