Initializer

init(rawValue:)

Creates an HTTP cookie property key using the given string.

Declaration

init(rawValue: String)

Parameters

rawValue

The string to use as a key.

Discussion

You can use this initializer to create HTTP cookie property keys that aren’t already represented by the predefined constants.

See Also

Creating Custom Cookie Property Keys

init(String)

Creates an HTTP cookie property key using the given string.