commit | 451d26391882615a966298bfbfd817062a286d97 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Wed Aug 26 18:31:57 2015 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Wed Aug 26 18:31:57 2015 -0700 |
tree | 9c1b6deafac4ad2d52a234852f1621f9351d0c4d | |
parent | a2e2b74a74ccec600ef5df6e93139314ffd1346f [diff] |
runtime/internal/lib/xwebsocket: Implement ws and wsh protocols for flow.RegisterProtocol. This change usees websocket framing when possible instead of double framing connections on websocket connections. The bulk of the code is the same with minor modifications, switching from net.conn to flow.MsgReadWriterCloser and net.Listener to flow.MsgListener, etc. I also rewrote ws_test to try to make it simpler. The new code is in an xwebsocket package so that we can remove the old code more easily once we complete the transition. Change-Id: I1d7cd8aae89049845acd5a0e6c2dfbac9a91b155
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.