RFC2965VersionAttributeHandler.Match(ICookie, CookieOrigin) Method

Definition

Always reports a match because Version does not restrict request matching.

[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")]
public virtual 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")>]
abstract member Match : Org.Apache.Http.Cookies.ICookie * Org.Apache.Http.Cookies.CookieOrigin -> bool
override this.Match : Org.Apache.Http.Cookies.ICookie * Org.Apache.Http.Cookies.CookieOrigin -> bool

Parameters

cookie
ICookie

The cookie whose Version attribute is being considered.

origin
CookieOrigin

The request origin, which does not affect this match.

Returns

true.

Implements

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