ssbc/ssb-manifest

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SSB Manifest

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'}) })()

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.