BasicMaxAgeHandler.Parse(ISetCookie, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses the Max-Age attribute and calculates the resulting expiry date.
[Android.Runtime.Register("parse", "(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V", "GetParse_Lorg_apache_http_cookie_SetCookie_Ljava_lang_String_Handler")]
public override 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")>]
override this.Parse : Org.Apache.Http.Cookies.ISetCookie * string -> unit
Parameters
- cookie
- ISetCookie
The cookie being parsed, validated, or evaluated.
- value
- String
The Max-Age attribute value, expressed in seconds.
- 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.