Timber v1.1.16 Timber.Transports.HTTP.HackneyClient
An efficient HTTP client that leverages hackney, keep alive connections, and connection pools to communicate with the Timber API.
Configuration
config :timber, :hackney_client,
request_options: [
connect_timeout: 5_000, # 5 seconds, timeout to connect
recv_timeout: 20_000 # 20 seconds, timeout to receive a response
]
:request_options
- Passed to:hackney.request(method, url, headers, body, request_options)
.
Summary
Functions
Issues a HTTP request via hackney
Issues a HTTP request via hackney
Callback implementation for Timber.Transports.HTTP.Client.start/0
Takes a reference to an async request and waits for it to complete
Functions
Callback implementation for Timber.Transports.HTTP.Client.start/0
.