-
Before I used to something like this: fn app_factory() -> App<
impl ServiceFactory<
ServiceRequest,
Config = (),
Response = ServiceResponse,
Error = actix_web::Error,
InitError = (),
>,
> {
App::new()
.configure(users::config)
.configure(webfinger::config)
} but when I add expected struct `ServiceResponse<middleware::logger::StreamLog<BoxBody>>`
found struct `ServiceResponse<BoxBody>` But |
Beta Was this translation helpful? Give feedback.
Answered by
robjtede
Mar 15, 2025
Replies: 1 comment
-
see example: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
robjtede
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see example:
https://github.com/actix/actix-web/wiki/FAQ#how-can-i-return-app-from-a-function--why-is-appentry-private