pub type ConnectionMiddleware = fn(_: &mut Request<Incoming>, _: SocketAddr);Expand description
The type of the connection middleware.
It is a function which receives a mutable request and a SocketAddr representing the remote client.
pub type ConnectionMiddleware = fn(_: &mut Request<Incoming>, _: SocketAddr);The type of the connection middleware.
It is a function which receives a mutable request and a SocketAddr representing the remote client.