Http4s alternatives and similar packages
Based on the "HTTP" category.
Alternatively, view Http4s alternatives based on common mentions on social networks and blogs.
-
Spray
A suite of scala libraries for building and consuming RESTful web services on top of Akka: lightweight, asynchronous, non-blocking, actor-based, testable -
scalaj-http
Simple scala wrapper for HttpURLConnection. OAuth included. -
requests-scala
A Scala port of the popular Python Requests HTTP client: flexible, intuitive, and straightforward to use. -
Newman
A REST DSL that tries to take the best from Dispatch, Finagle and Apache HttpClient. See here for rationale. -
featherbed
Asynchronous Scala HTTP client using Finagle, Shapeless and Cats -
Tubesocks
A comfortable and fashionable way to have bi-directional conversations with modern web servers. -
jefe
Manages installation, updating, downloading, launching, error reporting, and more for your application.
InfluxDB - Power Real-Time Data Analytics at Scale
Do you think we are missing an alternative of Http4s or a related project?
Popular Comparisons
README
Http4s
Http4s is a minimal, idiomatic Scala interface for HTTP services. Http4s is Scala's answer to Ruby's Rack, Python's WSGI, Haskell's WAI, and Java's Servlets.
val http = HttpRoutes.of {
case GET -> Root / "hello" =>
Ok("Hello, better world.")
}
Learn more at http4s.org.
If you run into any difficulties please enable partial unification in your build.sbt
(not needed for Scala 2.13 and beyond, because Scala 2.13.0+ has partial unification switched on by default)
scalacOptions ++= Seq("-Ypartial-unification")
Requirements
Running the blaze backend requires a modern, supported version of the JVM to build and run, as it relies on server APIs unavailable before JDK8u252. Any JDK newer than JDK8u252, including 9+ is supported.
Code of Conduct
http4s is proud to be a Typelevel project. We are committed to providing a friendly, safe and welcoming environment for all, and ask that the community adhere to the Scala Code of Conduct.
License
This software is licensed under the Apache 2 license, quoted below.
Copyright 2013-2021 http4s [https://http4s.org]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
[http://www.apache.org/licenses/LICENSE-2.0]
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Acknowledgments
Special thanks to YourKit for supporting this project's ongoing performance tuning efforts with licenses to their excellent product.
*Note that all licence references and agreements mentioned in the Http4s README section above
are relevant to that project's source code only.