Skip to content

softwaremill/sttp-shared

Folders and files

NameName
Last commit message
Last commit date
Feb 19, 2025
Nov 22, 2023
Feb 2, 2022
Mar 20, 2025
Apr 7, 2021
Sep 4, 2024
Nov 8, 2020
Apr 12, 2024
Apr 22, 2025
Mar 17, 2023
Mar 20, 2025
Sep 4, 2024
Dec 15, 2021
Apr 12, 2024
Nov 12, 2024
May 8, 2024
Jan 15, 2025
Jun 9, 2021
Mar 20, 2025
Aug 19, 2020
May 9, 2025

Repository files navigation

sttp-shared

Join the chat at https://gitter.im/softwaremill/sttp CI Maven Central

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.5.0"

sttp-shared is available for Scala 2.12, 2.13, 3.3, 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.:

STTP_NATIVE=1 sbt

You might need to install some additional libraries, see the scala native documentation site.

Commercial Support

We offer commercial support for sttp and related technologies, as well as development services. Contact us to learn more about our offer!

Copyright

Copyright (C) 2020-2021 SoftwareMill https://softwaremill.com.