0.0.5 • Published 8 years ago

semantic-internet-protocol v0.0.5

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
8 years ago

semantic-internet-protocol

Build Status

This Repo contains the spec for the semantic-internet-protocol and serialize/deserialize functions. It is written in JSON-Schema You can find the spec in the source directory

installation

$ npm install semantic-internet-protocol

usage

import { header, knowledge, interest } from 'semantic-internet-protocol'

API

# header.serialize({ version: Float, command: INTEREST|EXPOSE,

#contentLength: Int }) -> string

# header.deserialize(string) -> object

knowledge.serialize(Object) -> msgpack string

knowledge.deserialize(msgpack string) -> object

interest.serialize(Object) -> msgpack string

interest.deserialize(msgpack string) -> object

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago