Function DuplexTransport.close

Close the transport.

abstract void close() @nogc;

Buffered data will be flushed. No more data will be received.