Simple client server test using thrift
- clone me
npm install
make
From one terminal:
node server.js
From another one
node client.js
client.js
will send 100 messages to server.js
using a unix socket.
Models and services are defined in example.thrift (obviously in thrift format).
Running make
will build the gen-nodejs/*
files that will be used by both client and server