mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 08:57:00 +02:00
revert generic request parameter for service; support ServerConfig as new factory config
This commit is contained in:
@@ -98,9 +98,9 @@ impl<P: 'static> AppConfig<P> {
|
||||
service: F,
|
||||
nested: Option<Rc<ResourceMap>>,
|
||||
) where
|
||||
F: IntoNewService<S, ServiceRequest<P>>,
|
||||
F: IntoNewService<S>,
|
||||
S: NewService<
|
||||
ServiceRequest<P>,
|
||||
Request = ServiceRequest<P>,
|
||||
Response = ServiceResponse,
|
||||
Error = (),
|
||||
InitError = (),
|
||||
|
Reference in New Issue
Block a user