Mikael Ståldal
10/29/2024, 9:06 AMStreamBody with an InputStream. That works fine if you are serving a file, but what if you are generating a large response chunk by chunk? And don't want to buffer the whole response before start serving the first part.mbonnin
10/29/2024, 9:23 AMInputStream can be any kind of InputStream, including one that computes its bytes on demandmbonnin
10/29/2024, 9:23 AMMikael Ståldal
10/29/2024, 9:25 AMmbonnin
10/29/2024, 9:31 AMmbonnin
10/29/2024, 9:31 AMMikael Ståldal
10/29/2024, 9:33 AM