TcpConnection.close

void close() @trusted nothrow

Close the connection.

Idempotent. Pending callbacks may still fire after close. No new I/O operations will be accepted.