https://github.com/encalmo/sttp-utils
This Scala 3 library provides few extensions to the sttp
https://github.com/encalmo/sttp-utils
scala scala3 sttp
Last synced: 15 days ago
JSON representation
This Scala 3 library provides few extensions to the sttp
- Host: GitHub
- URL: https://github.com/encalmo/sttp-utils
- Owner: encalmo
- License: mit
- Created: 2025-03-07T00:27:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-25T23:35:29.000Z (over 1 year ago)
- Last Synced: 2025-03-26T00:35:46.641Z (over 1 year ago)
- Topics: scala, scala3, sttp
- Language: Scala
- Homepage: https://encalmo.github.io/sttp-utils/
- Size: 40 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
  
# sttp-utils
This Scala 3 library provides few extensions to the [sttp](https://github.com/softwaremill/sttp) library provided with [Scala toolkit](https://docs.scala-lang.org/toolkit/introduction.html).
## Table of contents
- [Dependencies](#dependencies)
- [Usage](#usage)
- [Examples](#examples)
## Dependencies
- [Scala](https://www.scala-lang.org) >= 3.3.5
- org.encalmo [**script-utils** 0.9.1](https://central.sonatype.com/artifact/org.encalmo/script-utils_3) | [**upickle-utils** 0.9.9](https://central.sonatype.com/artifact/org.encalmo/upickle-utils_3)
- org.fusesource.jansi [**jansi** 2.4.1](https://central.sonatype.com/artifact/org.fusesource.jansi/jansi)
- com.softwaremill.sttp.client4 [**core** 4.0.0-RC1](https://github.com/softwaremill/sttp) | [**upickle** 4.0.0-RC1](https://github.com/softwaremill/sttp)
## Usage
Use with SBT
libraryDependencies += "org.encalmo" %% "sttp-utils" % "0.9.4"
or with SCALA-CLI
//> using dep org.encalmo::sttp-utils:0.9.4
## Examples
See: [Examples](https://github.com/encalmo/sttp-utils/blob/main/SttpUtils.test.scala)
## Project content
```
├── .github
│ └── workflows
│ ├── pages.yaml
│ ├── release.yaml
│ └── test.yaml
│
├── .gitignore
├── .scalafmt.conf
├── HttpFormatter.scala
├── HttpieFormatter.scala
├── LICENSE
├── project.scala
├── README.md
├── RequestUtils.scala
├── SttpUtils.test.scala
└── test.sh
```