import { CookieJar } from "https://dotland.deno.dev/x/another_cookiejar@v5.0.7/mod.ts";
Sets or replaces a cookie inside the jar. Only sets new cookies if cookie is valid and not expired. Validation and expiration checks are not run when replacing a cookie.
Parameters
cookie: Cookie | string
- the url that this cookie from received from. mainly used by the fetch wrapper. will automatically set domain and path if provided and it was not found inside Cookie/cookiestring.