Access-Control-Max-Age

org.http4s.headers.Access-Control-Max-Age
See theAccess-Control-Max-Age companion trait

Attributes

Companion
trait
Source
Access-Control-Max-Age.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Cache extends Access-Control-Max-Age

The value of this field indicates how long the results of a preflight request (that is the information contained in the Access-Control-Allow-Methods and Access-Control-Allow-Headers headers) can be cached.

The value of this field indicates how long the results of a preflight request (that is the information contained in the Access-Control-Allow-Methods and Access-Control-Allow-Headers headers) can be cached.

Value parameters

age

age of the response (in seconds)

Attributes

Companion
object
Source
Access-Control-Max-Age.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Cache extends AbstractFunction1[Long, Cache]

Attributes

Companion
class
Source
Access-Control-Max-Age.scala
Supertypes
trait Product
trait Mirror
trait Long => Cache
class Object
trait Matchable
class Any
Show all
Self type
Cache.type
case object NoCaching extends Access-Control-Max-Age

A value of -1 of the age parameter will disable caching.

A value of -1 of the age parameter will disable caching.

Attributes

Source
Access-Control-Max-Age.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
NoCaching.type

Implicits