sttp.model.headers

Type members

Classlikes

object Accepts
sealed trait CacheDirective
Companion
object
Companion
class
case class Cookie(name: String, value: String)

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
Companion
class
case class CookieWithMeta

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
Companion
class
case class ETag(tag: String, weak: Boolean)
Companion
object
object ETag
Companion
class