Language

RFC2965DiscardAttributeHandler.Parse(ISetCookie, String) Method

Definition

Calls SetDiscard(true) when the target implements ISetCookie2.

[Android.Runtime.Register("parse", "(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V", "GetParse_Lorg_apache_http_cookie_SetCookie_Ljava_lang_String_Handler")]
public virtual void Parse(Org.Apache.Http.Cookies.ISetCookie? cookie, string? commenturl);
[<Android.Runtime.Register("parse", "(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V", "GetParse_Lorg_apache_http_cookie_SetCookie_Ljava_lang_String_Handler")>]
abstract member Parse : Org.Apache.Http.Cookies.ISetCookie * string -> unit
override this.Parse : Org.Apache.Http.Cookies.ISetCookie * string -> unit

Parameters

cookie
ISetCookie

The target cookie, which is changed only when it implements ISetCookie2.

commenturl
String

The Discard attribute value, which is ignored.

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to