You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for instance you can get a readable stream from a blob by just doing:
varstream=newResponse(blob).body// and you can get the blob back by doing:newResponse(stream).blob().then(complete)
You may even choose if you want to it as a json, arraybuffer or text if you pass it into a Response constructor. but it can only accept a ReadableStream
The text was updated successfully, but these errors were encountered:
jimmywarting
changed the title
Able to accept/recive a native browser stream
Able to send/receive a native browser stream
Dec 18, 2017
On the client side i feel like the native stream api is the way to go...
https://streams.spec.whatwg.org/
for instance you can get a readable stream from a blob by just doing:
You may even choose if you want to it as a json, arraybuffer or text if you pass it into a Response constructor. but it can only accept a ReadableStream
The text was updated successfully, but these errors were encountered: