Lue englanniksi

Jaa


IResponseCookies Interface

Definition

A wrapper for the response Set-Cookie header.

C#
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.

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0