Function load

Source
pub fn load<R: BufRead>(reader: R) -> Result<CookieStore, Error>
Expand description

Load JSON-formatted cookies from reader, skipping any expired cookies. NB: This function is not compatible with data produced by CookieStore::save_json or CookieStore::save_incl_expired_and_nonpersistent_json.