Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

µWS ("microWS") for Node.js is simple and 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');
});

About

μWebSockets for Node.js back-ends 🤘

Topics

Resources

Stars

9.2k stars

Watchers

116 watching

Forks

Releases

Packages

Used by

Contributors

Languages