struct

RinhaDeBackend::HttpParser::Header

Inherits Struct < Value < Object

Same shape as picohttpparser's struct phr_header: a pointer + length pair pointing back into the caller's buffer. Stored in a StaticArray(Header, 16) on the fiber stack — zero allocation per request.

Constructors

Instance methods

name
Source
name=(name : Pointer(UInt8))
Source
name_len
Source
name_len=(name_len : Int32)
Source
value
Source
value=(value : Pointer(UInt8))
Source
value_len
Source
value_len=(value_len : Int32)
Source