ChunkedOutputStream

Outputs data to an output stream in HTTP chunked format.

Constructors

this
deprecated this(OutputStream stream, IAllocator alloc)
Undocumented in source.
this
this(InterfaceProxy!OutputStream stream, IAllocator alloc, bool dummy)

private

Members

Aliases

ChunkExtensionCallback
alias ChunkExtensionCallback = string delegate(in ubyte[] data)
Undocumented in source.
write
alias write = OutputStream.write
Undocumented in source.

Functions

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.
write
size_t write(ubyte[] bytes_, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

chunkExtensionCallback
ChunkExtensionCallback chunkExtensionCallback [@property getter]
ChunkExtensionCallback chunkExtensionCallback [@property setter]

A delegate used to specify the extensions for each chunk written to the underlying stream.

maxBufferSize
size_t maxBufferSize [@property getter]
size_t maxBufferSize [@property setter]

Maximum buffer size used to buffer individual chunks.

Meta