Support event hooks for `devProxy` options
Open
Nobody has claimed this yet.
enhancement
proxy
v2
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 899
- Avg merge
- 2d 24m
- Merged PRs (30d)
- 40
Description
Forwarded from downstream issue:
|
Describe the feature
The current devProxy can only set parameters of the ServerOptions type. I want to add some additional operations to the request header in Listening for proxy events. How can I achieve this?
Additional information
- Would you be willing to help implement this feature?
- Could this feature be implemented as a module?
Final checks
- Read the contribution guide.
- Check existing discussions and issues.
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 at the devProxy option handling and review the node-http-proxy “Listening for proxy events” API referenced in the issue. Determine how event hooks could be exposed for request-header operations, then verify that the resulting options support the requested proxy events without breaking existing ServerOptions behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100