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) |
Add a new cookie and value. |
Append(String, String, CookieOptions) |
Add a new cookie. |
Delete(String) |
Sets an expired cookie. |
Delete(String, CookieOptions) |
Sets an expired cookie. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for