Skip to content

c-tsy/rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tsy`s RPC for nodejs and brower SDK

Support both JSON AND Buffer

how to use it

install this package

npm i @ctsy/rpc

import this package

import RPC from '@ctsy/rpc'
let rpc = new RPC();
let buffer = rpc.encode();

//or
let rpc = RPC.decode(buffer)

协议设计规则