共用方式為


ICookieAttributeHandler.Parse(ISetCookie, String) Method

Definition

Parse the given cookie attribute value and update the corresponding ICookie property.

[Android.Runtime.Register("parse", "(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V", "GetParse_Lorg_apache_http_cookie_SetCookie_Ljava_lang_String_Handler:Org.Apache.Http.Cookies.ICookieAttributeHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Parse (Org.Apache.Http.Cookies.ISetCookie? cookie, string? value);
[<Android.Runtime.Register("parse", "(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V", "GetParse_Lorg_apache_http_cookie_SetCookie_Ljava_lang_String_Handler:Org.Apache.Http.Cookies.ICookieAttributeHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Parse : Org.Apache.Http.Cookies.ISetCookie * string -> unit

Parameters

cookie
ISetCookie

ICookie to be updated

value
String

cookie attribute value from the cookie response header

Attributes

Exceptions

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