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

http4s-server-2-12

JSON →
library0.23.34javamavenunverified

Base library for building http4s HTTP servers in Scala 2.12.

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

Server
org.http4s.server.Server

Configures a Blaze HTTP server using http4s.

import org.http4s.server.Server import org.http4s.server.blaze.BlazeServerBuilder import scala.concurrent.ExecutionContext.global object Quickstart extends App { val server = BlazeServerBuilder[IO](global) .bindHttp(8080) .withHttpApp(???) .resource println("http4s server configured") }
Debug
Known issues
gotchaScala 2.12 version may lack features from newer Scala versions.
fix
Consider upgrading to Scala 2.13 or 3 if possible.
affects: >=0.23.0
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-12 — mvn dependency:get http4s-server-2-12 · libregistry