Name: ssb-manifest
Owner: Secure Scuttlebutt Consortium
Description: rpc manifest for ssb nodes
Created: 2015-02-06 22:20:56.0
Updated: 2015-07-25 00:09:13.0
Pushed: 2015-03-06 20:13:34.0
Homepage: null
Size: 152
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
for constructing RPC sessions with scuttlebot and other ssb nodes
muxrpc = require('muxrpc')
Serializer = require('pull-serializer')
manifest = require('ssb-manifest')
reate a RPC object using the ssb protocol
ssb = muxrpc(manifest, false, function (stream) { return Serializer(stream, JSON, {split: '\n\n'}) })()