// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Http { /// /// A wrapper for the response Set-Cookie header /// public interface IResponseCookies { /// /// Add a new cookie and value /// /// /// void Append(string key, string value); /// /// Add a new cookie /// /// /// /// void Append(string key, string value, CookieOptions options); /// /// Sets an expired cookie /// /// void Delete(string key); /// /// Sets an expired cookie /// /// /// void Delete(string key, CookieOptions options); } }