commit | 67c0ae4250571fee50ede63f8f2501e98dff2fae | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Mon Feb 01 15:55:12 2016 -0800 |
committer | Natalie Weizenbaum <nweiz@google.com> | Mon Feb 01 15:55:12 2016 -0800 |
tree | 86b933c883358000e7621a3dfa2fbecf610b9263 | |
parent | e525a6718218ecf3bf207eff9e3975b0c98b768a [diff] |
Be more explicit about JSON error handling. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1658833002 .
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.