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. http4s servers and clients share an immutable model of requests and responses. Standard headers are modeled as semantic types, and entity codecs are done by typeclass. The pure functional side of Scala is favored to promote composability and easy reasoning about your code. I/O is managed through cats-effect. http4s is built on FS2, a streaming library that provides for processing and emitting large payloads in constant space and implementing websockets. http4s cross-builds for Scala.js and Scala Native. Share code and deploy to browsers, Node.js, native executable binaries, and the JVM.

Features

  • Running the blaze backend requires a modern, supported version of the JVM to build and run
  • Relies on server APIs unavailable before JDK8u252
  • Any JDK newer than JDK8u252, including 9+ is supported
  • 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
  • If you run into any difficulties please enable partial unification in your build.sbt

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Http4s

Http4s Web Site

Other Useful Business Software
AI Powered Global HCM for the Evolving World of Work Icon
AI Powered Global HCM for the Evolving World of Work

For Start-ups, SME's, Large Enterprise

Darwinbox is a new-age & disruptive mobile-first, cloud-based HRMS platform built for the large enterprises to attract, engage and nurture their most critical resource - talent. It is an end-to-end integrated HR system that aids in streamlining activities across the employee lifecycle (Hire to Retire). Our powerful enterprise product features are built with a clear focus on intuitiveness and scalability, with standards of best in class consumer apps. Darwinbox’s motto is to engage, empower, and inspire employees on one side in addition to automating and simplifying all HR processes for the enterprise on the other. Over 350+ leading enterprises with 850k users manage their entire employee lifecycle on this unified platform.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Http4s!

Additional Project Details

Programming Language

Scala

Related Categories

Scala HTTP Servers, Scala HTTP Clients

Registered

2023-05-11