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 low)

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.

getExtraInfoPeername
string getExtraInfoPeername()
Undocumented in source.
getExtraInfoSocket
Socket getExtraInfoSocket()
Undocumented in source.
getExtraInfoSockname
string getExtraInfoSockname()
Undocumented in source.
close
void close()

Close the transport.

Meta