stamina-0.1.0.1: Retries for humans
Safe HaskellSafe-Inferred
LanguageGHC2021

Stamina.HTTP

Synopsis

Documentation

retry :: (MonadIO m, MonadCatch m) => RetrySettings -> (RetryStatus -> m a) -> m a Source #

Retry handler for HTTP requests.

Retries a subset of HTTP exceptions and overrides the delay with the Retry-After header if present.