Cookie

zio.http.model.Cookie$
See theCookie companion class
object Cookie

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Cookie.type

Members list

Concise view

Type members

Classlikes

object SameSite

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait SameSite

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Lax.type
object None.type
object Strict.type
object Type

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Type.type
sealed trait Type[A] extends Product with Serializable

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
object RequestType.type

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String, content: String, domain: Option[String], path: Option[Path], isSecure: Boolean, isHttpOnly: Boolean, maxAge: Option[Long], sameSite: Option[SameSite]): Cookie[Response]

Creates a new cookie of response type

Creates a new cookie of response type

Attributes

Creates a cookie with an expired maxAge

Creates a cookie with an expired maxAge

Attributes

def decode[S](string: String, validate: Boolean)(implicit ev: CookieDecoder[S]): Either[Exception, Out]

Creates a cookie from a string.

Creates a cookie from a string.

Attributes