https://github.com/http4s/http4s-curl
curling isn't just for Canadians
https://github.com/http4s/http4s-curl
cats curl http4s scala-native
Last synced: 3 months ago
JSON representation
curling isn't just for Canadians
- Host: GitHub
- URL: https://github.com/http4s/http4s-curl
- Owner: http4s
- License: apache-2.0
- Created: 2022-08-20T20:00:28.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-24T07:52:18.000Z (3 months ago)
- Last Synced: 2025-06-24T08:38:07.011Z (3 months ago)
- Topics: cats, curl, http4s, scala-native
- Language: Scala
- Homepage:
- Size: 370 KB
- Stars: 34
- Watchers: 4
- Forks: 8
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# http4s-curl
A client for [http4s](https://http4s.org/) on [Scala Native](https://github.com/scala-native/scala-native/), backed by [libcurl](https://curl.se/libcurl/). Check out the [example](https://github.com/http4s/http4s-curl/blob/main/example/src/main/scala/ExampleApp.scala).
- 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](https://www.javadoc.io/doc/org.http4s/http4s-docs_2.13/0.23.16/org/http4s/client/index.html)```scala
libraryDependencies ++= Seq(
"org.http4s" %%% "http4s-curl" % "0.2.0"
)
```### Acknowledgements
Special thanks to:
- [@lolgab](https://github.com/lolgab/) for publishing the [first Scala Native async client](https://github.com/lolgab/scala-native-http-client-async).
- [@keynmol](https://github.com/keynmol/) whose [sn-bindgen](https://github.com/indoorvivants/sn-bindgen) enabled gratuitous copy-pasta.
- [@djspiewak](https://github.com/djspiewak/) for pushing the [`PollingExecutorScheduler`](https://github.com/typelevel/cats-effect/blob/05e6a4c34f284670b776b2890a12819b0a5c5954/core/native/src/main/scala/cats/effect/unsafe/PollingExecutorScheduler.scala) design in Cats Effect Native.