This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The ReadableByteStream interface of the the Fetch API represents a readable stream of byte data.
Methods
ReadableStream.getReader()- Creates a reader of the type specified by the
modeoption, and locks the stream to the new reader. While the stream is locked, no other reader can be acquired until this one is released. ReadableStream.cancel()- Cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
Specifications
| Specification | Status | Comment |
|---|---|---|
| Streams The definition of 'ReadableStream' in that specification. |
Living Standard | Initial definition |
Browser Compatibility
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support |
52 |
? | ? |
39 |
? |
| Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|---|---|
| Basic support | 52 | 52 | ? | ? | ? | 39 | ? |