httpc
An HTTP client for Pooka, using Erlang's httpc.
pooka add pooka_httpc
import pooka/httpc
let assert Ok(reply) = httpc.get("https://example.org/")
echo reply.status
TLS verification is enabled and redirects stay visible by default. Non-success HTTP statuses are responses, not transport failures. Uses pooka/http requests and responses; bodies are supported for POST, PUT and PATCH.
See the API documentation for the rest.
Licence
Licensed under the Apache License, Version 2.0.