/http4s

A minimal, idiomatic Scala interface for HTTP

Primary LanguageScalaApache License 2.0Apache-2.0

Http4s Build Status Gitter chat Maven Central

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.

Code of Conduct

http4s is proud to be a Typelevel incubator project. We are dedicated to providing a harassment-free community for everyone, and ask that the community adhere to the code of conduct.

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2013-2016 http4s [http://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.