Registry / web-framework / http4s-core-2-13

http4s-core-2-13

JSON →
library0.23.34javamavenunverified

Core library for building HTTP servers and clients using functional Scala.

<dependency> <groupId>org.http4s</groupId> <artifactId>http4s-core_2.13</artifactId> <version>0.23.34</version> </dependency>
INSTALL
IMPORT
SIG · HTTP4S-CORE-2-13
H
http4s-core-2-13
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.

HttpRoutes
org.http4s.HttpRoutes

Define a simple HTTP route that responds with 'Hello, world!'.

import org.http4s.HttpRoutes; import org.http4s.dsl.io._; val routes = HttpRoutes.of[IO] { case GET -> Root / "hello" => Ok("Hello, world!") }
Debug
Known issues
breakingHttp4s 0.23.x uses cats-effect 3; migration from 0.21.x requires significant changes.
fix
Refer to the http4s migration guide for cats-effect 3 updates.
affects: <0.23
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-core-2-13 — mvn dependency:get http4s-core-2-13 · libregistry