A client for http4s on Scala Native, backed by libcurl. Check out the example.
- Non-blocking, with support for running multiple concurrent requests in parallel
- Streaming request and response bodies with backpressure
- Full access to http4s client middleware, DSL, and auth APIs
libraryDependencies ++= Seq(
"org.http4s" %%% "http4s-curl" % "0.2.0"
)
Special thanks to:
- @lolgab for publishing the first Scala Native async client.
- @keynmol whose sn-bindgen enabled gratuitous copy-pasta.
- @djspiewak for pushing the
PollingExecutorScheduler
design in Cats Effect Native.