engine.io-client icon indicating copy to clipboard operation
engine.io-client copied to clipboard

http2 agent

Open yovanoc opened this issue 5 years ago • 0 comments

You want to:

  • [] report a bug
  • [x] request a feature

Current behaviour

In the docs: agent (http.Agent): http.Agent to use, defaults to false (NodeJS only)

Expected behaviour

It would be really great to have to possibility to use the proxies of this lib for http2 https://github.com/szmarczak/http2-wrapper

Actually we have this error if we try:

TypeError [ERR_INVALID_ARG_TYPE]: The "options.agent" property must be one of Agent-like Object, undefined, or false. Received an instance of m

yovanoc avatar Jul 15 '20 07:07 yovanoc