Replies: 1 comment
-
I am not entirely certain I understand your question correctly; could you please elaborate in respect to the architecture, amount of running Drogon instances, your name resolution API endpoint etc.? From what I gather, it seems adding a regular expression route to handle dynamic prefixes could be the way to go, which would then require manual dispatching within your controller. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a system where, to avoid name conflicts, each device get's a different namespace, which is not known during compile time.
So, we need to get that (via a GET request) and then every api endpoint must be available under this prefix, e.g.
where
prefix_foo
is the dynamic prefix andmy/api/endpoint
is an endpoint provided by drogon.Any way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions