Skip to content

derbyjs/racer-browserchannel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 

Repository files navigation

racer-browserchannel

Adds browserchannel socket support to Racer models

Usage

In server code

const options = {};
const racerBrowserChannel = require('@derbyjs/racer-browserchannel');
const racerBrowserChannel = racerBrowserChannel(backend, options}
express.use(browserchannel);

In client (browser) app

const options = {};
const racerBrowserChannel = require('@derbyjs/racer-browserchannel/lib/browser');
racerBrowserChannel(options);

For options see `browserchannel API docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published