Share via


ICookieAttributeHandler.Match(ICookie, CookieOrigin) Method

Definition

Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.

[Android.Runtime.Register("match", "(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)Z", "GetMatch_Lorg_apache_http_cookie_Cookie_Lorg_apache_http_cookie_CookieOrigin_Handler:Org.Apache.Http.Cookies.ICookieAttributeHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Match (Org.Apache.Http.Cookies.ICookie? cookie, Org.Apache.Http.Cookies.CookieOrigin? origin);
[<Android.Runtime.Register("match", "(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)Z", "GetMatch_Lorg_apache_http_cookie_Cookie_Lorg_apache_http_cookie_CookieOrigin_Handler:Org.Apache.Http.Cookies.ICookieAttributeHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Match : Org.Apache.Http.Cookies.ICookie * Org.Apache.Http.Cookies.CookieOrigin -> bool

Parameters

cookie
ICookie

ICookie to match

origin
CookieOrigin

the cookie source to match against

Returns

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