http4s

A minimal, idiomatic Scala interface for HTTP

Github星跟蹤圖

Http4s Build Status Gitter chat Maven Central Typelevel library

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.

主要指標

概覽
名稱與所有者http4s/http4s
主編程語言Scala
編程語言HTML (語言數: 4)
平台
許可證Apache License 2.0
所有者活动
創建於2012-03-12 04:41:20
推送於2025-06-17 07:51:50
最后一次提交
發布數328
最新版本名稱v1.0.0-M44 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數2.6k
關注者數74
派生數802
提交數17.8k
已啟用問題?
問題數1410
打開的問題數246
拉請求數4622
打開的拉請求數98
關閉的拉請求數1391
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?