Compartir a través de


ChunkingCookieManager.AppendResponseCookie Método

Definición

Anexa una cookie de respuesta nueva al encabezado Set-Cookie. Si la cookie es mayor que el límite de tamaño especificado, se dividirá en varias cookies de la siguiente manera: Set-Cookie: CookieName=chunks-3; path=/ Set-Cookie: CookieNameC1=Segment1; path=/ Set-Cookie: CookieNameC2=Segment2; path=/ Set-Cookie: CookieNameC3=Segment3; path=/

public:
 virtual void AppendResponseCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key, System::String ^ value, Microsoft::AspNetCore::Http::CookieOptions ^ options);
public void AppendResponseCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, string value, Microsoft.AspNetCore.Http.CookieOptions options);
public void AppendResponseCookie (Microsoft.AspNetCore.Http.HttpContext context, string key, string? value, Microsoft.AspNetCore.Http.CookieOptions options);
abstract member AppendResponseCookie : Microsoft.AspNetCore.Http.HttpContext * string * string * Microsoft.AspNetCore.Http.CookieOptions -> unit
override this.AppendResponseCookie : Microsoft.AspNetCore.Http.HttpContext * string * string * Microsoft.AspNetCore.Http.CookieOptions -> unit
Public Sub AppendResponseCookie (context As HttpContext, key As String, value As String, options As CookieOptions)

Parámetros

context
HttpContext
key
String
value
String
options
CookieOptions

Implementaciones

Se aplica a