uWebsockets.js for FreeBSD
Go to file
2018-11-04 00:11:12 +01:00
dist Node.js 11, uWS.nextTick, purely V8 2018-11-03 12:35:42 +01:00
examples Node.js 11, uWS.nextTick, purely V8 2018-11-03 12:35:42 +01:00
src Node.js 11, uWS.nextTick, purely V8 2018-11-03 12:35:42 +01:00
uWebSockets@62ac8d16de Add uWebSockets submodule 2018-11-04 00:11:12 +01:00
.gitmodules Add uWebSockets submodule 2018-11-04 00:11:12 +01:00
benchmarks.png Add files via upload 2018-11-03 12:41:47 +01:00
make.bat Le dump 2018-10-28 16:07:21 +01:00
Makefile Add uWebSockets submodule 2018-11-04 00:11:12 +01:00
README.md Update README.md 2018-11-03 12:47:51 +01:00

µWS ("microWS") for Node.js is simple and somewhat efficient[1] messaging for the modern web.

Read more

This repository tracks the development of Node.js bindings for µWebSockets v0.15.

const uWS = require('...lalala');

const app = uWS.SSLApp({
  cert: 'my_cert.pem',
  key: 'my_key.pem'
}).get('/whatsmy/useragent', (res, req) => {
  res.end('Hello ' + req.getHeader('user-agent'));
}).get('/*', (res, req) => {
  res.end('Hello otherwise!');
}).listen(3000, 0, (token) => {
  console.log('Listening to port 3000');
});

Benchmarks

Performance retention is up to 70% of native C++ µWebSockets v0.15.