CookieWithMeta

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String, value: String, expires: Option[Instant], maxAge: Option[Long], domain: Option[String], path: Option[String], secure: Boolean, httpOnly: Boolean, sameSite: Option[SameSite], otherDirectives: Map[String, Option[String]]): CookieWithMeta
def parse(s: String): Either[String, CookieWithMeta]

Parse the cookie, represented as a header value (in the format: [name]=[value]; [directive]=[value]; ...).

Parse the cookie, represented as a header value (in the format: [name]=[value]; [directive]=[value]; ...).

def safeApply(name: String, value: String, expires: Option[Instant], maxAge: Option[Long], domain: Option[String], path: Option[String], secure: Boolean, httpOnly: Boolean, sameSite: Option[SameSite], otherDirectives: Map[String, Option[String]]): Either[String, CookieWithMeta]
def unsafeApply(name: String, value: String, expires: Option[Instant], maxAge: Option[Long], domain: Option[String], path: Option[String], secure: Boolean, httpOnly: Boolean, sameSite: Option[SameSite], otherDirectives: Map[String, Option[String]]): CookieWithMeta
def unsafeParse(s: String): CookieWithMeta