BaseTransport.close

Close the transport.

If the transport has a buffer for outgoing data, buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the protocol’s $(D_PSYMBOL connectionLost()) method will be called with $(D_KEYWORD null) as its argument.

interface BaseTransport
void
close
()

Meta