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
Members list
In this article