commit | e525a6718218ecf3bf207eff9e3975b0c98b768a | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Thu Jan 28 22:10:11 2016 |
committer | Natalie Weizenbaum <nweiz@google.com> | Thu Jan 28 22:10:11 2016 |
tree | 4eeba3fdf7f5565af5a6a0332b895b5ee171b4cc | |
parent | a22b40725659c982497956df5880a083d6ce6c9f [diff] |
Fix the MultiChannel constructor. R=kevmoo@google.com, rnystrom@google.com Review URL: https://codereview.chromium.org//1644943004 .
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.