object CookieWithMeta
- Companion:
- class
Type members
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
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