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.
Parameters
Section titled “Parameters”response
Section titled “response”headers
Section titled “headers”Headers
Returns
Section titled “Returns”number