Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hono Support for http-proxy-middleware #992

Open
shaaridev opened this issue Apr 21, 2024 · 4 comments
Open

Hono Support for http-proxy-middleware #992

shaaridev opened this issue Apr 21, 2024 · 4 comments

Comments

@shaaridev
Copy link

Describe the feature you'd love to see

Hi,

Integrating support for Hono within http-proxy-middleware will be an awesome feature., especially considering Hono's widespread popularity as a web framework compatible with Node.js, Deno, and Bun.

Github Hono
Hono

Additional context (optional)

No response

@chimurai
Copy link
Owner

happy to receive a PR / recipe for Hono

@branaway
Copy link

tried running a sample with bun, I got this:

TypeError: undefined is not an object (evaluating 'server.on')
    at <anonymous> (/Users/bran/localProjects/Slides/node_modules/http-proxy-middleware/dist/http-proxy-middleware.js:56:17)
    at <anonymous> (/Users/bran/localProjects/Slides/node_modules/http-proxy-middleware/dist/http-proxy-middleware.js:50:22)
    at processTicksAndRejections (native:7:39)

@mrvnklm
Copy link

mrvnklm commented Jan 15, 2025

I can recommend ElysiaJS for anyone being stuck here.

@branaway
Copy link

ElysiaJS is a high-level web framework. I'm testing the proxy here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants