Understand HTTP protocol support in httpcloak
mainhttpcloak supports HTTP/1.1, HTTP/2, and HTTP/3 (QUIC). The library includes logic to automatically negotiate the best available protocol or allows you to force a specific version.
- HTTP/1.1: Used when forced or when negotiation fails.
- HTTP/2: The default for most modern hosts, utilizing
SETTINGSandPRIORITYframes on the wire. - HTTP/3 (QUIC): Implemented via
sardanioss/quic-go, running over UDP and supporting 0-RTT (Zero Round-Trip Time) for faster connections.