Runtime router configuration #90
marknefedov
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Could you elaborate a bit more on the use case? I don't think I understand when the routes get updated. It should be possible though, regardless. Would incoming requests modify the route table? |
Beta Was this translation helpful? Give feedback.
1 reply
-
For what it's worth, I think this could be indirectly done by using a wildcard path matcher and having application-code that does its own matching of a route against the plugins loaded here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible with current implementation do something like this?
I noticed that most web-frameworks build route tree at compile/startup times so implementing runtime route updates is not really feasible. It would be cool to have ability to pass Conn to "handler" form wasm plugin that user installed.
Beta Was this translation helpful? Give feedback.
All reactions