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]
|
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_)
|
Writes an array of bytes to the stream.
|
write
(data, nbytes)
|
Pipes an InputStream directly into this OutputStream.
|
write
(bytes)
|
Writes an array of chars to the stream.
|
writeDefault
(stream, nbytes)
|
|