domain_matches


Description:

public bool domain_matches (string host)

Checks if the this's domain and host match.

The domains match if this should be sent when making a request to host, or that this should be accepted when receiving a response from host.

Parameters:

this

a Cookie

host

a URI

Returns:

true if the domains match, false otherwise