ICookies
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface ICookies
Properties
Collection
Get Added cookies
View Source
Declaration
List<Cookie> Collection { get; }
Methods
DeleteCookie(String)
Adds an expired Set-Cookie instruction for clients to delete this Cookie
View Source
Declaration
void DeleteCookie(string cookieName)
Parameters
Type | Name |
---|---|
System.String | cookieName |
AddPermanentCookie(String, String, Nullable<Boolean>)
Adds a new Set-Cookie instruction for ss-pid
View Source
Declaration
void AddPermanentCookie(string cookieName, string cookieValue, bool? secureOnly = null)
Parameters
Type | Name |
---|---|
System.String | cookieName |
System.String | cookieValue |
System.Nullable<System.Boolean> | secureOnly |
AddSessionCookie(String, String, Nullable<Boolean>)
Adds a new Set-Cookie instruction for ss-id
View Source
Declaration
void AddSessionCookie(string cookieName, string cookieValue, bool? secureOnly = null)
Parameters
Type | Name |
---|---|
System.String | cookieName |
System.String | cookieValue |
System.Nullable<System.Boolean> | secureOnly |