http2 agent
Open
Nobody has claimed this yet.
package:engine.io-client
- Dominant language
- TypeScript
- Stars
- 63.2k
- Forks
- 10.3k
- Avg merge
- 11d 20h
- Merged PRs (30d)
- 2
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the documented agent (http.Agent) option and reproduce the reported error using the linked http2-wrapper library. Trace how proxy agents are accepted for HTTP requests, then define support for HTTP/2 proxies and update the documentation once the example works without the invalid-agent error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100