Dela via


ChunkingCookieManager.GetRequestCookie(HttpContext, String) Method

Definition

Get the reassembled cookie. Non chunked cookies are returned normally. Cookies with missing chunks just have their "chunks-XX" header returned.

public:
 virtual System::String ^ GetRequestCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key);
public string GetRequestCookie (Microsoft.AspNetCore.Http.HttpContext context, string key);
public string? GetRequestCookie (Microsoft.AspNetCore.Http.HttpContext context, string key);
abstract member GetRequestCookie : Microsoft.AspNetCore.Http.HttpContext * string -> string
override this.GetRequestCookie : Microsoft.AspNetCore.Http.HttpContext * string -> string
Public Function GetRequestCookie (context As HttpContext, key As String) As String

Parameters

context
HttpContext
key
String

Returns

The reassembled cookie, if any, or null.

Implements

Applies to