-
The builder has this: pub fn service<F>(mut self, factory: F) -> Self
where
F: HttpServiceFactory + 'static,
{
self.services
.push(Box::new(ServiceFactoryWrapper::new(factory)));
self
} However I would like to create my own "controller" abstraction, in which a Vec of Right now the Any idea? |
Beta Was this translation helpful? Give feedback.
Answered by
robjtede
Oct 29, 2023
Replies: 1 comment
-
There's no mechanism to allow this, currently. I'd look at an issue or PR showing how you might achieve this if you want to have a stab at it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jondot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's no mechanism to allow this, currently. I'd look at an issue or PR showing how you might achieve this if you want to have a stab at it.