closeConnection abstract method
Initiates a graceful shutdown of a connection.
This method attempts to close the connection cleanly, allowing any in-flight operations to complete. If the graceful shutdown exceeds the configured timeout, the connection may be forcibly closed.
conn
The transport connection to close.
Implementation
Future<void> closeConnection(TransportConn conn);