Cookie

zio.http.Cookie
See theCookie companion trait
object Cookie

Attributes

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

Members list

Type members

Classlikes

final case class Request(name: String, content: String) extends Cookie

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Cookie
class Object
trait Matchable
class Any
Show all
Self type
object Request

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Request.type
final case class Response(name: String, content: String, domain: Option[String], path: Option[Path], isSecure: Boolean, isHttpOnly: Boolean, maxAge: Option[Duration], sameSite: Option[SameSite]) extends Cookie

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Cookie
class Object
trait Matchable
class Any
Show all
Self type
object Response

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Response.type
object SameSite

Attributes

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

Attributes

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

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def clear(name: String): Response

Creates a cookie with an expired maxAge

Creates a cookie with an expired maxAge

Attributes

def decodeRequest(header: String, validate: Boolean): Either[Exception, Chunk[Request]]
def decodeResponse(header: String, validate: Boolean): Either[Exception, Response]