Skip to content
A minimal, idiomatic Scala interface for HTTP
Scala Other
  1. Scala 99.2%
  2. Other 0.8%
Branch: master
Clone or download
Pull request Compare This branch is 81 commits behind http4s:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
argonaut/src
async-http-client/src
bench/src/main/scala/org/http4s/bench
blaze-client/src
blaze-core/src
blaze-server/src
boopickle/src
circe/src
client/src
core/src/main
docs/src
dropwizard-metrics/src
dsl/src
ember-client/src/main/scala/org/http4s/ember/client
ember-core/src
ember-server/src/main/scala/org/http4s/ember/server
examples
jawn/src
jetty-client/src
jetty/src
json4s-jackson/src
json4s-native/src
json4s/src
laws/src/main/scala/org/http4s/laws
licenses
okhttp-client/src
play-json/src
project
prometheus-metrics/src
scala-xml/src
scalafix
scalatags/src
scripts
server/src
servlet/src
testing/src
tests/src/test
tomcat/src
twirl/src
website/src/hugo
.gitignore
.jvmopts
.mergify.yml
.scalafmt.conf
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
NOTICE
README.md
build.sbt
scalastyle-config.xml
version.sbt

README.md

Http4s Build Status Gitter chat Maven Central Typelevel library Cats friendly

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

scalacOptions ++= Seq("-Ypartial-unification")

Code of Conduct

http4s is proud to be a Typelevel incubator 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-2019 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

YourKit

Special thanks to YourKit for supporting this project's ongoing performance tuning efforts with licenses to their excellent product.

You can’t perform that action at this time.