protocol.io
v0.3.4
Published
a socket server with protocol buffers, inspired by socket.io
Downloads
2
Maintainers
Readme
protocol.io
protocol.io is a simple socket server which sending and recieving data with protocol buffers.The project is inspired by socket.io
Installation
npm install protobuf.io --save
or yarn add protobuf.io
How to use
var server = require('protobuf.io')({port: 3000, protocolPath: 'main.proto'})
server.on('error', error => {
console.error(error)
})
server.on('listening', () => {
console.log('Listening port:', server.port)
})
server.start()
UNDER CONSTRUCTION