StaleWhileRevalidate

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

The stale-while-revalidate response directive indicates that the cache could reuse a stale response while it revalidates it to a cache.

Attributes

Source
Header.scala
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
Source
Header.scala

Value members

Inherited methods

Attributes

Inherited from:
Header
Source
Header.scala
override def headerType: Typed[CacheControl]

Attributes

Definition Classes
Inherited from:
CacheControl
Source
Header.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Header
Source
Header.scala
override def self: Self

Attributes

Definition Classes
Inherited from:
CacheControl
Source
Header.scala

Attributes

Inherited from:
Header
Source
Header.scala

Concrete fields

override val raw: String

Attributes

Source
Header.scala