Skip to content

HttpAgentHttp2Options

HttpAgentHttp2Options = Http2Limits & object

Defined in: packages/net-http/src/client/http-agent.ts:30

HTTP/2 options of an HttpAgent.

readonly optional priorKnowledge?: boolean

Speak HTTP/2 to http: origins too, without negotiation (prior knowledge): every such server must speak it. Defaults to false, where http: origins get HTTP/1.1.