/http4s

A minimal, idiomatic Scala interface for HTTP services.

Primary LanguageScalaOtherNOASSERTION

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 service: HttpService = {
  case Get -> Root / "hello" =>
    Ok("Hello, better world.")
}

Learn more at http4s.org.