* Sets the flag to fetch secure cookies. * * @param {boolean} secure - Whether the cookie fetched should be secure only or not. * @returns {CookieFilter} - The updated CookieFilter instance for chaining.
(secure)
| 101 | * @returns {CookieFilter} - The updated CookieFilter instance for chaining. |
| 102 | */ |
| 103 | secure(secure) { |
| 104 | this.#map.set('secure', secure) |
| 105 | return this |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * Sets the SameSite attribute for the cookie. |