Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Is there a way to add custom middleware for http server? #20

Open
shastri17 opened this issue Mar 29, 2022 · 0 comments
Open

Is there a way to add custom middleware for http server? #20

shastri17 opened this issue Mar 29, 2022 · 0 comments

Comments

@shastri17
Copy link

Apart from predefined middlewares, is there a way to add custom middlewares?
Example use case: restricting the api based on user role, we can create a auth middleware and attach it to the route.

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

No branches or pull requests

1 participant