GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - flowchain/wwRPC: A light weight library that makes REST-style RPC operations over the Websocket

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
broker.js
broker.js
 
 
index.js
index.js
 
 
message.js
message.js
 
 
node.js
node.js
 
 
requestHandlers.js
requestHandlers.js
 
 
router.js
router.js
 
 

Repository files navigation

wwRPC (aka web-to-web RPC) is a light weight library in JavaScript that makes RPC calls in REST-style operations over the Websocket. wwwRPC is a sub-project of WoT.City and the technical details can be found at WoT.City white paper

wwRPC: web-to-web RPC

wwRPC uses REST-style RPC operations over the WebSocket in IoT devices. The wwRPC aims to help IoT devices to make REST-style RPC calls. In addition, it is the underlying component of WoT.City software framework that can be accordingly used in a peer-to-peer IoT network.

API

rpc = new RPC(from, to)

Create a new wwRPC instance.

  • from is the URI of the sender, for example ws://wot.city/object/2fc89af
  • to is the URI of the receiver, for example ws://wot.city/object/2fc89af/send

rpc.send(message)

Send a RPC message. message must be serialized before sending.

rpc.serialize(message)

Serializ a RPC message.

rpc.deserialize(message)

Deserialize a RPC message.

About

A light weight library that makes REST-style RPC operations over the Websocket

Resources

Readme
MIT license
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.