I have a use case that I need to dynamically add a...
# ktor
v
I have a use case that I need to dynamically add a route and remove it later on. I found that it is okay to add a new route after the application engine is started, but it seems there is no way I can remove an existing route. Can anyone help me?
c
Note that adding routes is not thread-safe so it could lead to an outage
Currently, dynamic routes are not supported. If you know what route will be added/remove, you can simply use if/when
Or use wildcards
v
Thanks!