white_cats.pvp
white_cats.pvp is a server side messaging example for WebRTC PvP on Websocket
It is a example of white_cats with echoback
Let's try it on Glitch
Usage:
Node.js:
'./public'8080 '0.0.0.0' //require('white_cats.pvp')(public folder path)(port, ip, ...options)
Browser:
<!-- put a tag into the body tag-->
;//PvP(connection term)(server uri)(ice options)//if connection establish then... $pvp; // message event listenning; ;