WriteTransport

Interface for write-only transports.

Members

Functions

abort
void abort()

Close the transport immediately, without waiting for pending operations to complete.

canWriteEof
bool canWriteEof()
getWriteBufferLimits
BufferLimits getWriteBufferLimits()

Get the high- and low-water limits for write flow control.

getWriteBufferSize
size_t getWriteBufferSize()
setWriteBufferLimits
void setWriteBufferLimits(Nullable!size_t high = Nullable!size_t(), Nullable!size_t low = Nullable!size_t())

Set the high- and low-water limits for write flow control.

write
void write(const(void)[] data)

Write some data bytes to the transport.

writeEof
void writeEof()

Close the write end of the transport after flushing buffered data.

Inherited Members

From BaseTransport

getExtraInfo
auto getExtraInfo()

Get optional transport information.

close
void close()

Close the transport.

Meta