BrowserSocket.org

Demos

Below are some small examples which demonstrate various aspects of the BrowserSocket APIs.

NOTE: For the demos to work, you must view them in a recent version of Firefox with the proof-of-concept Firefox extension installed.

BrowserSocket Echo Service

Embed a minimal echo service in a web page.

view

BrowserSocket Multi Service

Embed two services into the page; the factory uses the resource to determine which to provide.

view

BrowserSocket Origin Service

An example demonstrating access to the connecting client's origin.

view

BrowserSocket Subprotocol Example

An example demostrating the use of WebSocket sub-protocols.

view