16 lines
418 B
TypeScript
16 lines
418 B
TypeScript
|
|
import URL from '../../url/URL.js';
|
||
|
|
import ICookie from '../ICookie.js';
|
||
|
|
/**
|
||
|
|
* Cookie string.
|
||
|
|
*/
|
||
|
|
export default class CookieURLUtility {
|
||
|
|
/**
|
||
|
|
* Returns "true" if cookie matches URL.
|
||
|
|
*
|
||
|
|
* @param cookie Cookie.
|
||
|
|
* @param url URL.
|
||
|
|
* @returns "true" if cookie matches URL.
|
||
|
|
*/
|
||
|
|
static cookieMatchesURL(cookie: ICookie, url: URL): boolean;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=CookieURLUtility.d.ts.map
|