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

Custom resolvers with callbacks #92

Open
jayaprabhakar opened this issue Mar 12, 2017 · 4 comments
Open

Custom resolvers with callbacks #92

jayaprabhakar opened this issue Mar 12, 2017 · 4 comments

Comments

@jayaprabhakar
Copy link

At present custom resolvers are expected to return the target url immediately. As a dynamic proxy, there are some use cases like checking database. To make it easy it would be great to have the resolved target as callback instead of having to return immediately.

@olup
Copy link

olup commented Mar 23, 2017

Second this, i have the same use case, and same problem.

@manast
Copy link
Member

manast commented Mar 23, 2017

I will try to address this ASAP.

@jayaprabhakar
Copy link
Author

Thanks @manast.

@Craigzyc
Copy link

Craigzyc commented Jun 6, 2017

I have the same use case but would also like to have access to the req to do authentication before proxying

Edit:
Thank you thank you thank you.
I no longer need this as I was able to use some of your code to make my http-proxy implementation do what I needed.

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