There are two steps in middleware processing. 1. Middleware initialization, middleware factory gets called with next service in chain as parameter. 2. Middleware's call method gets called with normal request.
| 21 | // next service in chain as parameter. |
| 22 | // 2. Middleware's call method gets called with normal request. |
| 23 | pub(crate) struct AuthenticationMiddleware(pub Arc<DashMap<String, SessionDetails>>); |
| 24 | |
| 25 | // Middleware factory is `Transform` trait |
| 26 | // `S` - type of the next service |
no outgoing calls
no test coverage detected