Package

sttp.model

headers

Permalink

package headers

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait CacheDirective extends AnyRef

    Permalink
  2. case class Cookie(name: String, value: String) extends Product with Serializable

    Permalink

    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.

  3. 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

    Permalink
  4. case class CookieWithMeta extends Product with Serializable

    Permalink

    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.

  5. case class ETag(tag: String, weak: Boolean = false) extends Product with Serializable

    Permalink

Value Members

  1. object CacheDirective

    Permalink
  2. object Cookie extends Serializable

    Permalink

    For a description of the behavior of apply, parse, safeApply and unsafeApply methods, see sttp.model.

  3. object CookieValueWithMeta extends Serializable

    Permalink
  4. object CookieWithMeta extends Serializable

    Permalink
  5. object ETag extends Serializable

    Permalink

Ungrouped