Registry / web-framework / http4s-dsl-3

http4s-dsl-3

JSON →
library0.23.34javamavenunverified

Provides a simple DSL for defining HTTP services with http4s in Scala 3.

<dependency> <groupId>org.http4s</groupId> <artifactId>http4s-dsl_3</artifactId> <version>0.23.34</version> </dependency>
INSTALL
IMPORT
SIG · HTTP4S-DSL-3
H
http4s-dsl-3
web-frameworkjavav0.23.34
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

io
org.http4s.dsl.io._

Defines a simple HTTP route using the http4s DSL.

import org.http4s.dsl.io._ import org.http4s.implicits._ import cats.effect.IO val service = HttpRoutes.of[IO] { case GET -> Root / "hello" => Ok("Hello, world!") }.orNotFound
Debug
Known issues
breakingThe DSL uses Scala 3 specific syntax; ensure your project is on Scala 3.
fix
Use the _3 artifact for Scala 3, or _2.13 for Scala 2.13.
affects: >=0.23.0
Upgrade
Version history
0.23.34latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
http4s-dsl-3 — mvn dependency:get http4s-dsl-3 · libregistry