W3cubDocs

/DOM

ReadableStreamBYOBRequest

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Draft
This page is not complete.

The ReadableStreamBYOBRequest interface of the Streams API represents a pull request into a ReadableByteStreamController view.

A view, as mentioned below, refers to a typed array representing the destination region to which the associated ReadableByteStreamController controller can write generated data.

Constructor

ReadableStreamBYOBRequest()
Creates and returns a ReadableStreamBYOBRequest() object instance.

Properties

ReadableStreamBYOBRequest.view
Returns the current view.

Methods

ReadableStreamBYOBRequest.respond()
xxx
ReadableStreamBYOBRequest.respondWithNewView()
xxx

Examples

TBD.

Specifications

Specification Status Comment
Streams
The definition of 'ReadableStreamBYOBRequest' in that specification.
Living Standard Initial definition

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support

52.0

No support[1] ?

39

?
Feature Android Webview Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support 52 52 No support[1] ? 39 ?

[1] Readable streams are currently enabled in Firefox, but hidden behind the dom.streams.enabled and javascript.options.streams prefs.

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBRequest