package headers
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- sealed trait CacheDirective extends AnyRef
- case class Cookie(name: String, value: String) extends Product with Serializable
A cookie name-value pair.
A cookie name-value pair.
The
name
andvalue
should be already encoded (if necessary), as when serialised, they end up unmodified in the header. - case class CookieValueWithMeta(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]]) extends Product with Serializable
- case class CookieWithMeta extends Product with Serializable
A cookie name-value pair with directives.
A cookie name-value pair with directives.
All
String
values should be already encoded (if necessary), as when serialised, they end up unmodified in the header. - case class ETag(tag: String, weak: Boolean = false) extends Product with Serializable
Value Members
- object CacheDirective
- object Cookie extends Serializable
For a description of the behavior of
apply
,parse
,safeApply
andunsafeApply
methods, see sttp.model. - object CookieValueWithMeta extends Serializable
- object CookieWithMeta extends Serializable
- object ETag extends Serializable