Retry

org.http4s.client.middleware.Retry$
object Retry

Attributes

Source:
Retry.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Retry.type

Members list

Concise view

Value members

Concrete methods

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

Attributes

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

Attributes

Source:
Retry.scala

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.

Attributes

Source:
Retry.scala