[−][src]Crate wasm_cookies
Structs
CookieOptions | Cookies options (see https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie). |
Enums
AllDecodeError | URI decoding error on a key or a value, when calling |
FromUrlEncodingError | Error when decoding invalid UTF-8 |
SameSite | SameSite value for CookieOptions. |
Functions
all | Returns all cookies, with URI decoded keys and values (with the urlencoding crate), or an error if URI decoding fails on a key or a value. |
all_raw | Returns all cookies, with undecoded keys and values. |
delete | Delete a cookie, URI encoding its name. |
delete_raw | Delete a cookie without encoding its name. |
get | If it exists, returns URI decoded cookie (with the urlencoding crate) or an error if the value's URI decoding fails. |
get_raw | Returns undecoded cookie if it exists. |
set | Sets a cookie, with URI encoded name and value (with the urlencoding crate). |
set_raw | Sets a cookie, with non encoded name and value. |