commit | c8515f0d6461faeb5c2e8a9cbd58d1924809ae86 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Thu Jan 21 15:29:15 2016 -0800 |
committer | Natalie Weizenbaum <nweiz@google.com> | Thu Jan 21 15:29:15 2016 -0800 |
tree | 5e6fc70d6043c64572892799a8a4b8c5d6eef8e5 | |
parent | 819cab7b0615ef3e3445165590616bbb7972e3b3 [diff] |
Add clearer rules for implementations. This helps implementations know how to handle corner cases, and helps users know what behavior they can rely on. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1604903006 .
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.