mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-06 16:12:18 +00:00
There are 3 ways to close a connection: 1. `ProtocolsHandlerEvent::Close` 2. `KeepAlive::No` via `ProtocolsHandler::connection_keep_alive` 3. `NetworkBehaviourAction::CloseConnection` This commit references (2) as an alternative to (1) in the documentation of (1).