commit | 34979ba2dd019f2032f9422c7eecde21d5f6a5d4 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Jan 19 16:41:33 2016 -0800 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Jan 19 16:41:33 2016 -0800 |
tree | 07aaaca7090c0ab706b52c5efbc712255c0975c4 |
Initial commit.
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.