Http4sClientCircuitBreakerModule

class Object
trait Matchable
class Any

Value members

Concrete methods

def make[F[_]](client: Client[F], circuitBreaker: CircuitBreaker[F], httpStatusClassifier: HttpStatusClassifier)(using evidence$1: Sync[F]): Client[F]

Wraps org.http4s.client.Client with the given monix.catnap.CircuitBreaker.

The circuit breaker is special in that it also catches any HTTP responses considered as server failures according to the com.avast.sst.http4s.client.monix.catnap.HttpStatusClassifier.