mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
mentioned re-use in wrap doc
This commit is contained in:
parent
220c04b7b3
commit
8800b8ef13
@ -113,8 +113,8 @@ where
|
||||
}
|
||||
|
||||
/// Registers heavyweight Application-level middleware, in the form of a
|
||||
/// middleware type, that runs during inbound and/or outbound processing in the
|
||||
/// request lifecycle (request -> response).
|
||||
/// re-usable middleware type, that runs during inbound and/or outbound
|
||||
/// processing in the request lifecycle (request -> response).
|
||||
///
|
||||
/// ```rust
|
||||
/// use actix_service::Service;
|
||||
@ -422,8 +422,8 @@ where
|
||||
}
|
||||
|
||||
/// Registers heavyweight Route-level middleware, in the form of a
|
||||
/// middleware type, that runs during inbound and/or outbound processing in the
|
||||
/// request lifecycle (request -> response).
|
||||
/// re-usable middleware type, that runs during inbound and/or outbound
|
||||
/// processing in the request lifecycle (request -> response).
|
||||
pub fn wrap<M, B1, F>(
|
||||
self,
|
||||
mw: F,
|
||||
|
Loading…
Reference in New Issue
Block a user