Skip to content

sttp: the Scala HTTP client that you always wanted!

Photo of Gabriele Petronella
Hosted By
Gabriele P. and Marco F.
sttp: the Scala HTTP client that you always wanted!

Details

There’s a number of great Scala HTTP libraries. You can do synchronous or fully asynchronous calls, stream requests and responses, use either standard Scala Futures or other concurrency wrappers. However, on the API side, when it comes to programmer-friendliness, we can do better!

The main goal of sttp is to provide a simple, type-safe API for defining HTTP requests, sending them and receiving responses. In the mainly live-coding talk we’ll go through the main API design decisions: we’ll see how partial requests (“templates”) can be built, how is type-safety provided via type parameters and what do they mean, how is defining a request decoupled from execution.

The presentation will also cover other sttp features, such as the URI interpolator and request/response body streaming support, integration with Akka Streams, Monix, Scalaz and Cats.

No slides, just code!

---

Come raggiungere buildo

From via Malaga 4, get in the gate and follow the red arrow ;-)

https://secure.meetupstatic.com/photos/event/6/0/c/0/600_465804768.jpeg

Photo of Milano Scala Group group
Milano Scala Group
See more events
buildo
Via Malaga 4 · Milano, MI