Delen via


IResponseCookies Interface

Definition

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.

Applies to