Parameters
- host
Type: System.String
The host of cookie. For example "lessons.zennolab.com", ".zennolab.com", etc.
- path
Type: System.String
The path of cookie.
- name
Type: System.String
The name of cookie.
- value
Type: System.String
The value of cookie.
- expiry
Type: System.DateTime
The expiry date of cookie.
- isSecure
Type: System.Boolean
The secure flag of cookie.
- isHttpOnly
Type: System.Boolean
The httpOnly flag of cookie.
- isSession
Type: System.Boolean
The session flag of cookie.
- sameSite
Type: System.String
The sameSite of cookie. The sameSite may take values "Strict", "Lax", "None" and "Unspecified". Default value is "Unspecified".
- priority
Type: System.String
The priority of cookie. The priority may take values "Low", "Medium", "High". Default value is "Medium".
Return Value
Type: ICookieItem
New cookie item object.