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)

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