sttp.model.headers
package sttp.model.headers
Type members
Classlikes
A cookie name-value pair.
A cookie name-value pair.
The name
and value
should be already encoded (if necessary), as when serialised, they end up unmodified in the
header.
- Companion:
- object
object Cookie
For a description of the behavior of apply
, parse
, safeApply
and unsafeApply
methods, see sttp.model.
For a description of the behavior of apply
, parse
, safeApply
and unsafeApply
methods, see sttp.model.
- Companion:
- class
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]])
- Companion:
- object
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.
- Companion:
- object