HTTP client using sttp

sttp-client is a Scala HTTP client integrating with a number of Scala stacks, including direct-style backends.

The integration is included in the sttp-client library and includes:

  • synchronous backends, which are designed to work with direct-style Scala

  • streaming request & response bodies, converted to/from Flows via InputStreams

  • interacting with WebSockets, either using the WebSocket interface directly, or using Flows of web socket frames

  • receiving SSE streams as Flow[ServerSentEvent]

For more details refer to the sttp-client documentation, specifically: