proxmox-backup/proxmox-rest-server
Dominik Csapak 2ef2c0fe0c proxmox-rest-server: OutputFormatter: add new format_data_streaming method
that takes the data in form of a `Box<dyn SerializableReturn + Send>`
instead of a Value.

Implement it in json and extjs formatter, by starting a thread and
stream the serialized data via a `BufWriter<SenderWriter>` and use
the Receiver side as a stream for the response body.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-04-13 08:13:36 +02:00
..
examples rest server: rust fmt 2022-04-06 16:55:39 +02:00
src proxmox-rest-server: OutputFormatter: add new format_data_streaming method 2022-04-13 08:13:36 +02:00
Cargo.toml proxmox-rest-server: OutputFormatter: add new format_data_streaming method 2022-04-13 08:13:36 +02:00