ClientConfig

com.softinio.verdict4s.algebra.ClientConfig
See theClientConfig companion object
final case class ClientConfig(model: Model = ..., retry: RetryPolicy = ..., requestTimeout: FiniteDuration = ...)

Settings a client applies to every request.

Deliberately carries no base URL. org.http4s.Uri is not available in the effect-free core, and holding the address as a String here would push a parse failure into the happy path at runtime; the client turns Defaults.BaseUrl into a compile-time-checked literal instead.

Value parameters

model

the model used when a request does not name one

requestTimeout

ceiling on one HTTP attempt

retry

how to back off and retry

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

A copy using a different default model.

A copy using a different default model.

Attributes

A copy with a different ceiling on each HTTP attempt.

A copy with a different ceiling on each HTTP attempt.

Attributes

A copy using a different retry policy.

A copy using a different retry policy.

Attributes

A copy that never retries.

A copy that never retries.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product