HTTP client for ABSmartly API with retry logic.
Summary
Functions
The value sent as the X-Agent header: "absmartly-elixir-sdk/<version>".
Fetch context data from API endpoint.
Publish events to API endpoint.
Functions
The value sent as the X-Agent header: "absmartly-elixir-sdk/<version>".
Fetch context data from API endpoint.
Implements retry logic:
- Retry on network errors and 5xx status codes
- Don't retry on 4xx status codes
- Exponential backoff: 50ms × 2^attempt
Publish events to API endpoint.