CookieSpecBase.Parse(IHeaderElement[], CookieOrigin) 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 cookies from the supplied HTTP header according to this specification.
[Android.Runtime.Register("parse", "([Lorg/apache/http/HeaderElement;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_arrayLorg_apache_http_HeaderElement_Lorg_apache_http_cookie_CookieOrigin_Handler")]
protected virtual System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>? Parse(Org.Apache.Http.IHeaderElement[]? elems, Org.Apache.Http.Cookies.CookieOrigin? origin);
[<Android.Runtime.Register("parse", "([Lorg/apache/http/HeaderElement;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;", "GetParse_arrayLorg_apache_http_HeaderElement_Lorg_apache_http_cookie_CookieOrigin_Handler")>]
override this.Parse : Org.Apache.Http.IHeaderElement[] * Org.Apache.Http.Cookies.CookieOrigin -> System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>
Parameters
- elems
- IHeaderElement[]
The header elements from which to create cookies.
- origin
- CookieOrigin
The host, port, path, and security context of the request.
Returns
The cookies created from the supplied header elements for the request 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.