Initializer

init(_:)

Creates an HTTP cookie property key using the given string. HTTPクッキープロパティキーをその与えられた文字列を使って作成します。

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. あなたはこのイニシャライザを使って、あらかじめ定義される定数によってまだ表されない、HTTPクッキープロパティキーを作成できます。

This convenience initializer is identical to init(rawValue:). この便宜イニシャライザは、init(rawValue:)とまったく同じです。

See Also 参照

Creating Custom Cookie Property Keys あつらえのクッキープロパティキーを作成する