RFC2965DomainAttributeHandler.Validate(ICookie, 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.
Verifies that the cookie attribute is valid for the supplied request origin.
[Android.Runtime.Register("validate", "(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)V", "GetValidate_Lorg_apache_http_cookie_Cookie_Lorg_apache_http_cookie_CookieOrigin_Handler")]
public virtual void Validate(Org.Apache.Http.Cookies.ICookie? cookie, Org.Apache.Http.Cookies.CookieOrigin? origin);
[<Android.Runtime.Register("validate", "(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)V", "GetValidate_Lorg_apache_http_cookie_Cookie_Lorg_apache_http_cookie_CookieOrigin_Handler")>]
abstract member Validate : Org.Apache.Http.Cookies.ICookie * Org.Apache.Http.Cookies.CookieOrigin -> unit
override this.Validate : Org.Apache.Http.Cookies.ICookie * Org.Apache.Http.Cookies.CookieOrigin -> unit
Parameters
- cookie
- ICookie
The cookie being parsed, validated, or evaluated.
- origin
- CookieOrigin
The host, port, path, and security context of the request.
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.