fn checkCompleteHead(r: *HeadersParser, allocator: std.mem.Allocator, in: []const u8) CheckCompleteHeadError!u32

Pushes in into the parser. Returns the number of bytes consumed by the header. Any header bytes are appended to the header_bytes buffer.

This function only uses allocator if r.header_bytes_owned is true, and may be undefined otherwise.

Parameters

allocator: std.mem.Allocator,
in: []const u8,