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

Allow route based function middlewares #600

Merged
merged 2 commits into from
Jun 17, 2020
Merged

Allow route based function middlewares #600

merged 2 commits into from
Jun 17, 2020

Conversation

jannik4
Copy link
Contributor

@jannik4 jannik4 commented Jun 16, 2020

This adds (the missing) support for function middlewares at the route level. #545 already introduced support for function middlewares at the server level.

@jbr
Copy link
Member

jbr commented Jun 16, 2020

Thanks @jannik4! Would you be interested in contributing a test for this?

@jannik4
Copy link
Contributor Author

jannik4 commented Jun 16, 2020

Sure, I hope I have time for it tomorrow.

@jannik4 jannik4 requested a review from jbr June 17, 2020 14:55
Copy link
Member

@jbr jbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jbr jbr merged commit 53cf24b into http-rs:master Jun 17, 2020
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

Successfully merging this pull request may close these issues.

2 participants