Obtains a list of HeaderElement instances referring to the header lines parsed so far. The key member of each element references the slice of the corresponding header line before the first ':', the val member the slice after the first ':'. Leading and tailing white space is trimmed off both key and val.
Sets the HTTP message header size limit. This will reset the parse state and clear the content.
Sets the limit for the number of HTTP message header lines.
Header element
Interface for the header parser to get the parse results and set limits