0.1.2 • Published 8 years ago

tubing-frame v0.1.2

Weekly downloads
4
License
ISC
Repository
-
Last release
8 years ago

tubing-frame

IFrame transport for tubing.

Usage

In tubing-frame you just specify a name for the server and connect to the name from the client.

The client will search for the server of the specified name on all of the frames it can find.

Server
// import tubing and create an app ...

import listener from 'tubing-frame/listener';

listener(app).listen('server-name');
Client
// import tubing and create an app ...

import connector from 'tubing-frame/connector';

connector(app).connector('server-name');