sttp is a family of Scala HTTP-related projects, and currently includes:
- sttp client: The Scala HTTP client you always wanted!
- sttp tapir: Typed API descRiptions
- sttp model: Simple Scala HTTP model.
- sttp shared: this project. Shared web socket, FP abstractions, capabilities and streaming code.
Quickstart with sbt
Add the following dependency:
"com.softwaremill.sttp.shared" %% "core" % "1.2.7"
sttp model is available for Scala 2.11, 2.12, 2.13, 3.0.0-Mx, Scala.JS and Scala Native.
Building & testing the scala-native version
By default, sttp-native will not be included in the aggregate build of the root project. To include it, define the
STTP_NATIVE environmental variable before running sbt, e.g.:
You might need to install some additional libraries, see the scala native documentation site.
We offer commercial support for sttp and related technologies, as well as development services. Contact us to learn more about our offer!
Copyright (C) 2020-2021 SoftwareMill https://softwaremill.com.