Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

Protocol

Alexander Hudek edited this page Mar 31, 2015 · 2 revisions

Introduction

The goog.net.BrowserChannel source code states:

A BrowserChannel simulates a bidirectional socket over HTTP. It is the basis of the Gmail Chat IM connections to the server. (hyperlink added) Long term as browser support improves WebSockets will replace much of the functionality in BrowserChannel. However, BrowserChannel works today on all major browsers (including IE6) using a variety of technologies including forever iframes (IE < 10) and XHR Streaming (IE10+ and non-IE).

The client-side portion of BrowserChannel is open sourced (APLv2) as part of closure-library. Unfortunately, Google has not released the server-side portion of the code required to use BrowserChannel meaningfully. The libevent-browserchannel-server package provides an open source (APLv2) licensed server-side library to fill this missing gap. The remainder of this page documents the "version 8" client-server protocol (most recent as of 4/2012) used by BrowserChannel.

Clone this wiki locally