Class HttpCookieCollection
Provides a type-safe way to manipulate HTTP cookies.
Inheritance
System.Object
HttpCookieCollection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Web.Http.Abstractions
Assembly: Terrasoft.Web.Http.Abstractions.dll
Syntax
public abstract class HttpCookieCollection
Constructors
HttpCookieCollection()
Declaration
protected HttpCookieCollection()
Properties
Item[String]
Declaration
public abstract HttpCookie this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name |
Property Value
| Type | Description |
|---|---|
| HttpCookie |
Keys
Declaration
public abstract ICollection<string> Keys { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<System.String> |
Methods
Get(String)
Returns the cookie with the specified name from the cookie collection.
Declaration
public abstract HttpCookie Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the cookie to retrieve from the collection. |
Returns
| Type | Description |
|---|---|
| HttpCookie | The HttpCookie specified by name. |