UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

23 lines 614 B
import URL from '../../url/URL.cjs'; import ICookie from '../ICookie.cjs'; /** * Cookie string. */ export default class CookieStringUtility { /** * Returns cookie. * * @param originURL Origin URL. * @param cookieString Cookie string. * @returns Cookie. */ static stringToCookie(originURL: URL, cookieString: string): ICookie | null; /** * Returns cookie string with key and value. * * @param cookies Cookies. * @returns Cookie string. */ static cookiesToString(cookies: ICookie[]): string; } //# sourceMappingURL=CookieStringUtility.d.ts.map