MaxStale

zio.http.Header.CacheControl.MaxStale
final case class MaxStale(staleWithinSeconds: Int) extends CacheControl

The max-stale=N request directive indicates that the client allows a stored response that is stale within N seconds.

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

def headerName: String

Attributes

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

Attributes

Definition Classes
Inherited from:
CacheControl
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def renderedValue: String

Attributes

Inherited from:
Header
override def self: Self

Attributes

Definition Classes
Inherited from:
CacheControl

Concrete fields

override val raw: String

Inherited fields

lazy val untyped: Custom

Attributes

Inherited from:
Header