https://github.com/softwaremill/sttp-shared
https://github.com/softwaremill/sttp-shared
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/softwaremill/sttp-shared
- Owner: softwaremill
- License: apache-2.0
- Created: 2020-08-19T13:06:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T00:40:28.000Z (9 months ago)
- Last Synced: 2025-04-24T01:30:22.384Z (9 months ago)
- Language: Scala
- Homepage: https://softwaremill.com/open-source
- Size: 800 KB
- Stars: 7
- Watchers: 23
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://gitter.im/softwaremill/sttp)
[](https://github.com/softwaremill/sttp-shared/actions?query=workflow%3A%22CI%22)
[](https://maven-badges.herokuapp.com/maven-central/com.softwaremill.sttp.shared/core_2.12)
sttp is a family of Scala HTTP-related projects, and currently includes:
* [sttp client](https://github.com/softwaremill/sttp): The Scala HTTP client you always wanted!
* [sttp tapir](https://github.com/softwaremill/tapir): Typed API descRiptions
* [sttp model](https://github.com/softwaremill/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:
```scala
"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](http://www.scala-native.org/en/latest/user/setup.html) documentation site.
## Commercial Support
We offer commercial support for sttp and related technologies, as well as development services. [Contact us](https://softwaremill.com) to learn more about our offer!
## Copyright
Copyright (C) 2020-2021 SoftwareMill [https://softwaremill.com](https://softwaremill.com).