Connection.close

Explicitly close the connection.

This is a two-stage process. First tell the server we are quitting this connection, and then close the socket.

Idiomatic use as follows is suggested:

{
    auto con = new Connection("localhost:user:password:mysqld");
    scope(exit) con.close();
    // Use the connection
    ...
}
class Connection
void
close
()

Meta