View Source Sentry.HackneyClient (Sentry v10.3.0)

The built-in HTTP client.

This client implements the Sentry.HTTPClient behaviour.

It's based on the hackney Erlang HTTP client, which is an optional dependency of this library. If you wish to use another HTTP client, you'll have to implement your own Sentry.HTTPClient. See the documentation for Sentry.HTTPClient for more information.

Sentry starts its own hackney pool called :sentry_pool. If you need to set other hackney configuration options for things such as proxies, using your own pool, or response timeouts, the :hackney_opts configuration is passed directly to hackney for each request. See the configuration documentation in the Sentry module.