/// Create a new response parser.
Create a new response parser.
Create a new response parser .
fn new(max_line_length: usize, max_lines: usize) -> ResponseParser {
        ResponseParser {
            line_reader:   LineReader::new(max_line_length, b"\r\n"),
            header_parser: ResponseHeaderParser::new(max_lines),
            header:        None,
            body:          Vec::new(),
            expected:      0
        }
    }
fn new ( max_line_length : usize , max_lines : usize ) -> ResponseParser { ResponseParser { line_reader : LineReader :: new ( max_line_length , b" \r \n " ) , header_parser : ResponseHeaderParser :: new ( max_lines ) , header : None , body : Vec :: new ( ) , expected : 0 } }
Create a new response parser.
Create a new response parser .
max_line_length
usize
max_lines
usize