ConnectionProxyStream

Special kind of proxy stream for streams nested in a ConnectionStream.

This stream will forward all stream operations to the selected stream, but will forward all connection related operations to the given ConnectionStream. This allows wrapping embedded streams, such as SSL streams in a ConnectionStream.

Constructors

this
this(InterfaceProxy!Stream stream, InterfaceProxy!ConnectionStream connection_stream, bool dummy)

private

this
this(InterfaceProxy!InputStream input, InterfaceProxy!OutputStream output, InterfaceProxy!ConnectionStream connection_stream, bool dummy)

private

Members

Aliases

read
alias read = ConnectionStream.read
Undocumented in source.
write
alias write = ConnectionStream.write
Undocumented in source.

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
peek
const(ubyte)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] dst, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
waitForData
bool waitForData(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
write
size_t write(ubyte[] bytes, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

connected
bool connected [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dataAvailableForRead
bool dataAvailableForRead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
leastSize
ulong leastSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
underlying
inout(InterfaceProxy!Stream) underlying [@property getter]
InterfaceProxy!Stream underlying [@property setter]
Stream underlying [@property setter]

The stream that is wrapped by this one

Meta