Function isComplete [src]
Returns whether or not the parser has finished parsing a complete
message. A message is only complete after the entire body has been read
and any trailing headers have been parsed.
Prototype
pub fn isComplete(r: *HeadersParser) bool
Parameters
r: *HeadersParser
Source
pub fn isComplete(r: *HeadersParser) bool {
return r.done and r.state == .finished;
}