BrowserCompatSpec.Parse(IHeader, CookieOrigin) Method

Definition

Parses cookies from the supplied HTTP header according to this specification.

[Android.Runtime.Register("parse", "(Lorg/apache/http/Header;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_Lorg_apache_http_Header_Lorg_apache_http_cookie_CookieOrigin_Handler")]
public override System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>? Parse(Org.Apache.Http.IHeader? header, Org.Apache.Http.Cookies.CookieOrigin? origin);
[<Android.Runtime.Register("parse", "(Lorg/apache/http/Header;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_Lorg_apache_http_Header_Lorg_apache_http_cookie_CookieOrigin_Handler")>]
override this.Parse : Org.Apache.Http.IHeader * Org.Apache.Http.Cookies.CookieOrigin -> System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>

Parameters

header
IHeader

The HTTP header to parse.

origin
CookieOrigin

The host, port, path, and security context of the request.

Returns

The browser-compatible cookies parsed from the header for the supplied origin.

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