Skip to content

Structure

HTTPCookies.Value

A single cookie (key/value pair).
struct Value

Topics

Initializers

Instance Properties

  • domain
    The affected domain at which the cookie is active.
  • expires
    The cookie’s expiration date
  • isHTTPOnly
    Does not expose the cookie over non-HTTP channels.
  • isSecure
    Limits the cookie to secure connections.
  • maxAge
    The maximum cookie age in seconds.
  • path
    The path at which the cookie is active.
  • sameSite
    A cookie which can only be sent in requests originating from the same origin as the target domain.
  • string
    The cookie’s value.

Instance Methods

Type Properties

  • expired
    An expired HTTPCookieValue.

Relationships

Conforms To

  • Swift.ExpressibleByExtendedGraphemeClusterLiteral
  • Swift.ExpressibleByStringLiteral
  • Swift.ExpressibleByUnicodeScalarLiteral
  • Swift.Sendable
  • Swift.SendableMetatype