Function save

Source
pub fn save<W: Write>(
    cookie_store: &CookieStore,
    writer: &mut W,
) -> Result<(), Error>
Expand description

Serialize any unexpired and persistent cookies in the store to JSON format and write them to writer. NB: This function does not produce data compatible with CookieStore::load_json or CookieStore::load_json_all.