Contents

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