vibe.stream.wrapper

Stream proxy and wrapper facilities.

Public Imports

vibe.core.stream
public import vibe.core.stream;
Undocumented in source.

Members

Classes

ConnectionProxyStream
class ConnectionProxyStream

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

ProxyStream
class ProxyStream

Provides a way to access varying streams using a constant stream reference.

Functions

StreamInputRange
deprecated StreamInputRange!OutputStream StreamInputRange(InputStream stream)

Implements an input range interface on top of an InputStream using an internal buffer.

StreamOutputRange
deprecated StreamOutputRange!OutputStream StreamOutputRange(OutputStream stream)

Implements a buffered output range interface on top of an OutputStream.

createConnectionProxyStream
ConnectionProxyStream createConnectionProxyStream(Stream stream, ConnectionStream connection_stream)
Undocumented in source. Be warned that the author may not have intended to support it.
createConnectionProxyStream
ConnectionProxyStream createConnectionProxyStream(InputStream input, OutputStream output, ConnectionStream connection_stream)
Undocumented in source. Be warned that the author may not have intended to support it.
createConnectionProxyStreamFL
FreeListRef!ConnectionProxyStream createConnectionProxyStreamFL(Stream stream, ConnectionStream connection_stream)

private

createProxyStream
ProxyStream createProxyStream(Stream stream)
Undocumented in source. Be warned that the author may not have intended to support it.
createProxyStream
ProxyStream createProxyStream(InputStream input, OutputStream output)
Undocumented in source. Be warned that the author may not have intended to support it.
streamInputRange
auto streamInputRange(InputStream stream)

Implements an input range interface on top of an InputStream using an internal buffer.

streamOutputRange
auto streamOutputRange(OutputStream stream)

Implements a buffered output range interface on top of an OutputStream.

Structs

StreamInputRange
struct StreamInputRange(InputStream, size_t buffer_size = 256)

Implements an input range interface on top of an InputStream using an internal buffer.

StreamOutputRange
struct StreamOutputRange(OutputStream, size_t buffer_size = 256)

Implements a buffered output range interface on top of an OutputStream.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Sönke Ludwig