Sdílet prostřednictvím


HttpCookies.Append Method

Definition

Overloads

Append(IHttpCookie)

Adds the provided IHttpCookie. To create a cookie, you can use the CreateNew() method.

Append(String, String)

Adds an HTTP cookie with the provided name and value.

Append(IHttpCookie)

Source:
HttpCookies.cs

Adds the provided IHttpCookie. To create a cookie, you can use the CreateNew() method.

public abstract void Append (Microsoft.Azure.Functions.Worker.Http.IHttpCookie cookie);
abstract member Append : Microsoft.Azure.Functions.Worker.Http.IHttpCookie -> unit
Public MustOverride Sub Append (cookie As IHttpCookie)

Parameters

cookie
IHttpCookie

The IHttpCookie to add.

Applies to

Append(String, String)

Source:
HttpCookies.cs

Adds an HTTP cookie with the provided name and value.

public abstract void Append (string name, string value);
abstract member Append : string * string -> unit
Public MustOverride Sub Append (name As String, value As String)

Parameters

name
String

The cookie name

value
String

The cookie value.

Applies to