Websocket http server Hapi
To download package dependencies, run
npm install
npm start
curl -X POST -H "Content-Type: application/json" -d '{"msg":"This is a broadcast message"}' http://localhost:8088/msg
Websocket http server Hapijs v17
Websocket http server Hapi
To download package dependencies, run
npm install
npm start
curl -X POST -H "Content-Type: application/json" -d '{"msg":"This is a broadcast message"}' http://localhost:8088/msg