Transport-specific connection agent. Undici agents apply to the default
HTTP(S) transport. QWP wss takes any Node http.Agent, which includes
an https.Agent and the tunnelling agents https-proxy-agent,
socks-proxy-agent and proxy-agent produce; QWP ws takes a plain
http.Agent. An agent that cannot serve the scheme is reported by Node as
ERR_INVALID_PROTOCOL when the upgrade is attempted.
Transport-specific connection agent. Undici agents apply to the default HTTP(S) transport. QWP
wsstakes any Nodehttp.Agent, which includes anhttps.Agentand the tunnelling agentshttps-proxy-agent,socks-proxy-agentandproxy-agentproduce; QWPwstakes a plainhttp.Agent. An agent that cannot serve the scheme is reported by Node asERR_INVALID_PROTOCOLwhen the upgrade is attempted.