IResponseCookies Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A wrapper for the response Set-Cookie header.
public interface class IResponseCookies
public interface IResponseCookies
type IResponseCookies = interface
Public Interface IResponseCookies
Methods
Append(ReadOnlySpan<KeyValuePair<String,String>>, CookieOptions) |
Add elements of specified collection as cookies. |
Append(String, String, CookieOptions) |
Add a new cookie. |
Append(String, String) |
Add a new cookie and value. |
Delete(String, CookieOptions) |
Sets an expired cookie. |
Delete(String) |
Sets an expired cookie. |