- From: Wenbo Zhu <notifications@github.com>
- Date: Tue, 09 Dec 2014 18:00:54 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Wednesday, 10 December 2014 02:01:20 UTC
It was a proposal for the spec, to clarify if the stream API may be used to send/receive atomic messages, in addition to byte-arrays. Great that you believe both use cases are valid. A concrete example for requirement #1: Response C-T is application/json. The server is streaming a list of "entities" as a JSON array to the client application. Then, could I install a custom or predefined Transform function so that each chunk as delivered by the Stream API will represent a valid JSON element (or any array of elements). . #1.1 states that we should respect any wire-level message framing, as in the case of WebSocket. Thanks. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/249#issuecomment-66393167
Received on Wednesday, 10 December 2014 02:01:20 UTC