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

http4s-core-2-12

JSON →
library0.23.34javamavenunverified

Core library for http4s, providing HTTP server and client functionality for Scala applications.

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

Defines a simple HTTP route that returns '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
breakingScala 2.12 version may have compatibility issues with newer Scala versions.
fix
Use the appropriate Scala version suffix (e.g., _2.13 or _3) for your project.
affects: 0.23.x
Upgrade
Version history
0.23.34latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
http4s-core-2-12 — mvn dependency:get http4s-core-2-12 · libregistry