Dart-Messenger

Build Status

This is just a simple messaging framework for dart. it will support webRTC's Datachannel, some sort of local message passing and TCP for signaling. The main purpose was to create a basis application for university. I wanted to check, if it's possible to create some sort of "pure p-2-p network within the browser".

You will find a chrome application within the example folder. It uses tcp for signaling and creates a datachannel chat between two peers.

Documentation

The messenger library consists of 5 sublibraries (message, events, signaling, connections and peer). You can find the latest API documentation in the Link section.

(In the next line <- stands for the include relation)

messenger <- peer <- connections <- signaling <- events <- message

Build

To build the library just run build.sh.

Links

Pub.dartlang.org project page. API Documentation

Libraries

messenger
messenger.connections

Connections Library

messenger.events

Custom Event Libraray

messenger.exceptions
messenger.message

class Message

messenger.peer

class Peer

messenger.signaling

Signaling Library

spark.tcp

Lightweight implementations of a tcp clients and servers. This library serves as a higher level abstraction over the chrome.socket APIs.