sttp client is an open-source library that provides a clean, programmer-friendly API to describe HTTP requests and how to handle responses. Requests are sent using one of the backends, which wrap other Scala or Java HTTP client implementations. The backends can integrate with a variety of Scala stacks, providing both synchronous and asynchronous, procedural and functional interfaces. Backend implementations include ones based on akka-http, http4s, OkHttp, and HTTP clients which ship with Java. They integrate with Akka, Monix, fs2, cats-effect, scalaz and ZIO. Supported Scala versions include 2.11, 2.12, 2.13 and 3, Scala.JS and Scala Native.

Features

  • Quickstart with scala-cli
  • Quickstart with sbt
  • Quickstart with Ammonite
  • The quick package import brings in the sttp API and a pre-configured, global synchronous backend instance
  • Open-source library which provides a clean, programmer-friendly API to describe HTTP requests
  • Requests are sent using one of the backends

Project Samples

Project Activity

See All Activity >

Categories

HTTP Clients

License

Apache License V2.0

Follow sttp client

sttp client Web Site

Other Useful Business Software
Compliant and Reliable File Transfers Backed by Top Security Certifications Icon
Compliant and Reliable File Transfers Backed by Top Security Certifications

Cerberus FTP Server delivers SOC 2 Type II certified security and FIPS 140-2 validated encryption.

Stop relying on non-certified, legacy file transfer tools that creak under the weight of modern security demands. Get full audit trails, advanced access controls and more supported by an award-winning team of experts. Start your free 25-day trial today.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of sttp client!

Additional Project Details

Programming Language

Scala

Related Categories

Scala HTTP Clients

Registered

2023-05-15