Skip to content

negotiatedProtocol

negotiatedProtocol(response): number

Defined in: protocol.ts:131

Read the negotiated version off a response.

An absent header means an older deployment that predates negotiation, which by contract is protocol 1 — not an error, and specifically not a reason to refuse the stream. Treating silence as failure here would break every customer whose traffic happens to land on an edge revision mid-rollout.

Headers

number