Skip to content

HttpVersion

HttpVersion = "1.0" | "1.1" | "2" | "3"

Defined in: packages/net-http/src/message/http-message.ts:11

The protocol version a message travelled over.

Every type in this module is the same whichever version carried it: a handler or a caller never branches on it, it only reads it.