sttp.model.headers

Type members

Classlikes

case
class AcceptEncoding(encodings: List[WeightedEncoding])
Companion
object
Companion
class
object Accepts
sealed
Companion
object
Companion
class
case
class ContentRange(unit: String, range: Option[(Long, Long)], size: Option[Long])
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(name: String, valueWithMeta: CookieValueWithMeta)

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
case
class Range(start: Option[Long], end: Option[Long], unit: String)
Companion
object
object Range
Companion
class
case
class WWWAuthenticateChallenge(scheme: String, params: ListMap[String, String])
Companion
object