commit | 2e37ad5e09911199624070f70fc17e6719fa4245 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Jan 26 15:28:31 2016 -0800 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Jan 26 15:28:31 2016 -0800 |
tree | 328e4d87b988f37c029310f0728a83aa3f0a40ea | |
parent | 44a178aa1b158327cd5a9d8b7028d0f48f5bb82c [diff] |
Add StreamChannel.transform(). R=rnystrom@google.com Review URL: https://codereview.chromium.org//1639643002 .
This package exposes the StreamChannel
interface, which represents a two-way communication channel. Each StreamChannel
exposes a Stream
for receiving data and a StreamSink
for sending it.
StreamChannel
helps abstract communication logic away from the underlying protocol. For example, the test
package re-uses its test suite communication protocol for both WebSocket connections to browser suites and Isolate connections to VM tests.
This package also contains utilities for dealing with StreamChannel
s and with two-way communications in general. For documentation of these utilities, see the API docs.