socketio / engine.io-client

The engine used in the Socket.IO JavaScript client, which manages the low-level transports such as HTTP long-polling, WebSocket and WebTransport.

Home Page:https://socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http2 agent

yovanoc opened this issue · comments

You want to:

  • [] report a bug
  • 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