Duplex.disconnect

Terminate the connection. Note: this isn't quite fleshed out - applications may want to wait and send some more data even after stdin is closed, but such an interface can't be fitted into an IConnection

class Duplex
void
disconnect
(
string reason = defaultDisconnectReason
,)

Meta