Cookie Constructor (String, String, String) |
Initializes a new instance of the
Cookie class with the specified
name,
value, and
path.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public Cookie(
string name,
string value,
string path
)
Parameters
- name
- Type: SystemString
A String that represents the Name of the cookie.
- value
- Type: SystemString
A String that represents the Value of the cookie.
- path
- Type: SystemString
A String that represents the value of the Path attribute of the cookie.
Exceptions Exception | Condition |
---|
CookieException | name is or empty.
- or -
name contains an invalid character.
- or -
value is .
- or -
value contains a string not enclosed in double quotes
that contains an invalid character.
|
See Also