Skip to main content

parse

Function parse 

Source
pub fn parse<R: BufRead>(reader: R) -> Result<Vec<Cookie>, ParseError>
Expand description

Parses all valid cookie lines from a buffered reader.

The first malformed cookie line or I/O error stops parsing and returns a ParseError with the 1-based line number.