simple-http4s
simple-http4s
contains a simple HTTP client based on Play Framework.
I use Scala 2.12.x for the project so it is compiled with Scala 2.12,
but it shouldn't be too difficult to downgrade, upgrade, or cross-compile.
More details to come.
GitHub Packages
The compiled artifacts are published to GitHub as a Maven project.
Note that GitHub's autogenerated POM snippet is buggy and misleading.
In a Maven project, add
<repository>
<id>chrism_github_simple-http4s</id>
<name>chrism GitHub simple-http4s</name>
<url>https://maven.pkg.github.com/chrismin1202/simple-http4s</url>
</repository>
as a <repository>
and include
<dependency>
<groupId>com.chrism</groupId>
<artifactId>simple-http4s_2.12</artifactId>
<version>CHECK_build.sbt_FOR_LATEST</version>
</dependency>
as a <dependency>
.
In a sbt project, add
resolvers += "chrism simple-http4s GitHub Package Registry" at "https://maven.pkg.github.com/chrismin1202/simple-http4s"
as a resolver and include
libraryDependencies += "com.chrism" %% "simple-http4s" % "check.build.sbt.for.latest"
as a library dependency.
License
This code is under the Apache Licence v2.