Skip to main content

parse_cookie_file

Function parse_cookie_file 

Source
pub fn parse_cookie_file(file_contents: &str) -> Result<Vec<CookieParam>>
Expand description

Parse a cookie file As specified in https://curl.se/docs/http-cookies.html

§Arguments

  • file_contents - The contents of the cookie file

§Returns

  • A vector of CookieParam structs