Class ChunkedOutputStream
Outputs data to an output stream in HTTP chunked format.
Constructors
Name | Description |
this
(stream, alloc)
|
|
Properties
Name | Type | Description |
chunkExtensionCallback [get, set]
|
@safe string delegate(const(ubyte[])) | A delegate used to specify the extensions for each chunk written to the underlying stream.
|
maxBufferSize [get, set]
|
ulong | Maximum buffer size used to buffer individual chunks.
|
Methods
Name | Description |
finalize
()
|
Flushes and finalizes the stream.
|
flush
()
|
Flushes the stream and makes sure that all data is being written to the output device.
|
write
(bytes_, mode)
|
Writes an array of bytes to the stream.
|