Instance Property

version

The cookie’s version.

Declaration

var version: Int { get }

Discussion

Version 0 maps to “old-style” Netscape cookies. Version 1 maps to RFC 6265 cookies.

See Also

Getting Cookie Metadata

var name: String

The cookie’s name.

var value: String

The cookie‘s string value.