Skip to main content

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
TypeName
System.StringcookieName

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
TypeName
System.StringcookieName
System.StringcookieValue
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
TypeName
System.StringcookieName
System.StringcookieValue
System.Nullable<System.Boolean>secureOnly