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

Add Connect-like middleware #23

Open
jergason opened this issue Jan 24, 2012 · 0 comments
Open

Add Connect-like middleware #23

jergason opened this issue Jan 24, 2012 · 0 comments

Comments

@jergason
Copy link
Contributor

It would be awesome to have some kind of middleware to pass the request and response to once the request finishes.

Maybe pass in an array of middleware functions when you require ahr, and then pass the results of NativeHttpClient(req, res) through each of the middlewares. I am still trying to wrap my head around the code a little bit though.
@Gissues:{"order":20,"status":"backlog"}

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

No branches or pull requests

1 participant