Closed jimmywarting closed 7 years ago
This implementation is not aiming to be a complete polyfill for fetch
, it's just aiming to provide a stream-based API for fetching binary data in the browser. As for adding text()
and arrayBuffer
methods; could the consumer not just make use of .pipeTo()
?
It doesn't take much to make turn a stream into a arraybuffer, text or a blob... consider adding? for a complete api...