Login
Roast topics
Find topics
Find it!
From:
Alexandru Nedelcu - Blog
(Uncensored)
subscribe
Cancellable HTTP requests via Scala's Tapir
https://alexn.org/blog/2024/09/29/cancellable-http-server-client-requests-via-scala-s-tapir/?pk_campaign=rss
links
backlinks
Tagged with:
programming
scala
snippet
cats effect
Roast topics
Find topics
Roast it!
This sample shows an HTTP server and an HTTP client that can cleanly cancel requests. It’s using Tapir and Sttp, with Netty and AsyncHttpClient backends, all powered by Cats-Effect.