BVB Source Codes

uWebSockets Show ws.js Source code

Return Download uWebSockets: download ws.js Source code - Download uWebSockets Source code - Type:.js
  1. var WebSocketServer = require('ws').Server
  2.   , wss = new WebSocketServer({ port: 3000 });
  3.  
  4. function incoming(message) {
  5.     this.send(message, {binary: true});
  6. }
  7.  
  8. wss.on('connection', function connection(ws) {
  9.   //ws.upgradeReq = null;
  10.   ws.on('message', incoming);
  11. });
  12.  
downloadws.js Source code - Download uWebSockets Source code
Related Source Codes/Software:
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
postal - 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11

 Back to top