Skip to content
0:00 / 0:00

#scala#http4s#cats

http4s: pure, typeful, functional HTTP in Scala – Ross Baker

Typelevel

2.6K subscribers • 8 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2018 to 2022.
  • Presented by Ross Baker, http4s maintainer
  • May be out of date. Uploaded 8 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

11K views8 years ago2 recommendations

Web developmentProgramming languagesFunctional programmingHTTP, REST and GraphQL

Ross Baker introduces the design choices behind http4s, demonstrating how it uses Kleisli and fs2 streams for functional HTTP services.

http4s embraces cats.data.Kleisli for service definitions and fs2.Stream for payload processing. With its foundation on these simple types, we’ll take a whirlwind tour of how http4s can: - plug into your functional business logic - snap together with other functional libraries - relate servers to clients - test with a simple function call - run on multiple backends - support multiple higher level DSLs This talk will not make you an expert in http4s, but show that it’s a relatively short path to become one. * Material * Slides: rossabaker.github.io/boston-http4s/#2 * Event * Typelevel Summit Boston, March 2018: typelevel.org/event/2018-03-summit-boston/ * About Speaker * Ross is a Senior Software Engineer at Takt. He began his open source journey on the Scalatra project in 2009, and has gotten purer, more functional, and more typeful with each passing year. He now contributes to http4s and cats among others, and is a member of Typelevel. He is a co-organizer of IndyScala. * Licensing * This recording is licensed under CC-BY 4.0 (creativecommons.org/licenses/by/4.0/).

Why it's here

2 people recommend this

What people say. Recommended as an excellent introduction to the history, design choices, and practical use of http4s.

u/Actual_Ad4965in r/scala • Recommends

On “Resources for learning about http4s and Typelevel ecosystem?”

In this video one of the authors goes through the history of http4s and explains the design choices: link to this video

u/deds_the_scrubin r/scala • Recommends

On “Does anyone have some ideas to practice concepts from the red book?”

I'm currently on Chapter 5. I've done some simple services using http4s. This is really good video ( including an example of where laziness is useful ). link to this video