sttp.model.headers.CookieWithMeta$
See theCookieWithMeta companion class
object CookieWithMeta
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- CookieWithMeta.type
Members list
Concise view
Type members
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, 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]; ...
).
Attributes
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