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

http4s-server-2-13

JSON →
library0.23.34javamavenunverified

Base library for building http4s servers, providing core abstractions for HTTP server implementation.

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

Server
org.http4s.server.Server

Creates and starts an http4s server using Blaze backend.

import org.http4s.server.Server; import org.http4s.server.blaze.BlazeServerBuilder; public class Example { public static void main(String[] args) { BlazeServerBuilder[F] builder = BlazeServerBuilder[F] .bindHttp(8080) .withHttpApp(service); Server server = builder.resource.allocated.unsafeRunSync(); } }
Debug
Known issues
breakinghttp4s 0.23.x uses cats-effect 3, which is not binary compatible with cats-effect 2.
fix
Ensure your project uses cats-effect 3 and update dependencies accordingly.
affects: 0.23.0 and later
Upgrade
Version history
0.23.34latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
http4s-server-2-13 — mvn dependency:get http4s-server-2-13 · libregistry