Retry

object Retry
class Object
trait Matchable
class Any
Retry.type

Value members

Concrete methods

def apply[F[_]](policy: () => F, redactHeaderWhen: CIString => Boolean)(client: Client[F])(implicit F: Temporal[F]): Client[F]
def create[F[_]](policy: () => F, redactHeaderWhen: CIString => Boolean, logRetries: Boolean)(client: Client[F])(implicit F: Temporal[F]): Client[F]

Concrete fields

This key tracks the attempt count, the retry middleware starts the very first request with 1 as the first request, even with no retries (aka the first attempt). If one wants to monitor retries explicitly and not the attempts one may want to subtract the value of this key by 1.

This key tracks the attempt count, the retry middleware starts the very first request with 1 as the first request, even with no retries (aka the first attempt). If one wants to monitor retries explicitly and not the attempts one may want to subtract the value of this key by 1.

Source:
Retry.scala