m5
How to pipe/stream file into API Response object?
I'm trying to write an API endpoint with SolidStart which would read a file with
fs.createReadStream
and pipe it into a Response
object which is returned by the API function. I was unable to find a proper solution for this, is it possible at all and how?7 replies