Re: [webrtc-pc] WHATWG streams for data channel messages

send() will actually need to take a ReadableStream argument, the same way Request does.

send() could **return** a WritableStream, but I assume that would break the API.

If your code wants a WritableStream you can use a [TransformStream]( as an adaptor as [this example]( demonstrates.

GitHub Notification of comment by ricea
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 31 January 2018 07:11:44 UTC