ForgeOpsTracker.Client (forge_ops_tracker v0.1.0)

Copy Markdown View Source

Delivers one payload over HTTP via :httpc (Erlang's own HTTP client, part of the :inets application bundled with every OTP install -- no Hex dependency needed, same reasoning as net/http in the Ruby gem and java.net.http.HttpClient in the Java/Kotlin clients). Every failure mode -- DNS, connection, timeout, TLS, a non-2xx response -- is caught here and turned into false rather than a raised exception, since a broken or unreachable tracker must never be able to break the host app.

Summary

Functions

deliver(config, payload)

@spec deliver(ForgeOpsTracker.Configuration.t(), map()) :: boolean()