Cookie Class |
Namespace: Sfs2X.WebSocketSharp.Net
[SerializableAttribute] public sealed class Cookie
The Cookie type exposes the following members.
Name | Description | |
---|---|---|
![]() | Cookie |
Initializes a new instance of the Cookie class.
|
![]() | Cookie(String, String) |
Initializes a new instance of the Cookie class with the specified
name and value.
|
![]() | Cookie(String, String, String) |
Initializes a new instance of the Cookie class with the specified
name, value, and path.
|
![]() | Cookie(String, String, String, String) |
Initializes a new instance of the Cookie class with the specified
name, value, path, and
domain.
|
Name | Description | |
---|---|---|
![]() | Comment |
Gets or sets the value of the Comment attribute of the cookie.
|
![]() | CommentUri |
Gets or sets the value of the CommentURL attribute of the cookie.
|
![]() | Discard |
Gets or sets a value indicating whether the client discards the cookie unconditionally
when the client terminates.
|
![]() | Domain |
Gets or sets the value of the Domain attribute of the cookie.
|
![]() | Expired |
Gets or sets a value indicating whether the cookie has expired.
|
![]() | Expires |
Gets or sets the value of the Expires attribute of the cookie.
|
![]() | HttpOnly |
Gets or sets a value indicating whether non-HTTP APIs can access the cookie.
|
![]() | Name |
Gets or sets the Name of the cookie.
|
![]() | Path |
Gets or sets the value of the Path attribute of the cookie.
|
![]() | Port |
Gets or sets the value of the Port attribute of the cookie.
|
![]() | Secure |
Gets or sets a value indicating whether the security level of the cookie is secure.
|
![]() | TimeStamp |
Gets the time when the cookie was issued.
|
![]() | Value |
Gets or sets the Value of the cookie.
|
![]() | Version |
Gets or sets the value of the Version attribute of the cookie.
|
Name | Description | |
---|---|---|
![]() | Equals |
Determines whether the specified Object is equal to the current
Cookie.
(Overrides ObjectEquals(Object).) |
![]() | GetHashCode |
Serves as a hash function for a Cookie object.
(Overrides ObjectGetHashCode.) |
![]() | ToString |
Returns a String that represents the current Cookie.
(Overrides ObjectToString.) |
The Cookie class supports the following cookie formats: Netscape specification, RFC 2109, and RFC 2965
The Cookie class cannot be inherited.