sttp
4

Getting started

  • Quickstart
  • How sttp client works
  • Support & sponsorship
  • Goals of the project
  • Community

How-to's

  • Examples by category
  • Migrating to sttp-client4

HTTP model

  • Model classes
  • URIs

Request definition

  • Request definition basics
  • Headers
  • Cookies
  • Authentication
  • Request body
  • Multipart requests
  • Streaming
  • The type of request definitions

Responses

  • Responses
  • Response body
  • Exceptions

Other topics

  • WebSockets
  • JSON
  • XML
  • Resilience
  • OpenAPI
  • Server-sent events
  • Request body progress callback

Backends

  • Supported backends
  • Starting & cleaning up
  • Synchronous backends
  • Akka backend
  • Pekko backend
  • Future-based backends
  • Monix backends
  • cats-effect backend
  • fs2 backend
  • Scalaz backend
  • ZIO backends
  • Http4s backend
  • Twitter future (Finagle) backend
  • Scala.js (Fetch) backend
  • Scala Native (curl) backend

Backend wrappers

  • OpenTelemetry
  • Prometheus backend
  • Logging
  • Caching backend
  • Custom backends

Testing

  • The stub backend
  • Converting requests to CURL commands

Configuration

  • Timeouts
  • SSL
  • Proxy support
  • Redirects

More information

  • Other Scala HTTP clients
sttp
  • Search


© Copyright 2025, SoftwareMill.

Built with Sphinx using a theme provided by Read the Docs.