Skip to main content

with_plain_peer

Function with_plain_peer 

Source
pub(crate) fn with_plain_peer(router: Router) -> Router
Expand description

Make the plain peer address (ConnectInfo<SocketAddr>, which the other routes read) available beside Conn.