StaleIfError

zio.http.Header.CacheControl.StaleIfError
final case class StaleIfError(seconds: Int) extends CacheControl

The stale-if-error response directive indicates that the cache can reuse a stale response when an origin server responds with an error (500, 502, 503, or 504).

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait CacheControl
trait Header
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

override type Self = CacheControl

Attributes

Inherited from:
CacheControl

Value members

Inherited methods

Attributes

Inherited from:
Header
override def headerType: Typed[CacheControl]

Attributes

Definition Classes
Inherited from:
CacheControl

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Header
override def self: Self

Attributes

Definition Classes
Inherited from:
CacheControl

Attributes

Inherited from:
Header

Concrete fields

override val raw: String