Return $(D_KEYWORD true) if the transport supports $(D_PSYMBOL writeEof()), $(D_KEYWORD false) if not. See $(D_PSYMBOL WriteTransport.canWriteEof()).
Close the transport: see $(D_PSYMBOL BaseTransport.close()).
Give the write buffer of the underlying transport a chance to be flushed.
Return optional transport information: see $(D_PSYMBOL BaseTransport.getExtraInfo()).
Write some data bytes to the transport: see $(D_PSYMBOL WriteTransport.write()).
Close the write end of the transport after flushing buffered data: see $(D_PSYMBOL WriteTransport.write_eof()).
Transport.
Wraps a Transport.
This exposes $(D_PSYMBOL write()), $(D_PSYMBOL writeEof()), $(D_PSYMBOL canWriteEof()), $(D_PSYMBOL getExtraInfo()) and $(D_PSYMBOL close()). It adds $(D_PSYMBOL drain()) coroutine for waiting for flow control. It also adds a $(D_PSYMBOL transport) property which references the Transport directly.
This class is not thread safe.