From 47e66cccbb6b8a8e4198c8388595f8303de8b090 Mon Sep 17 00:00:00 2001
From: Alex Hultman <3397140+alexhultman@users.noreply.github.com>
Date: Thu, 4 Oct 2018 23:18:50 +0200
Subject: [PATCH] Update README.md
---
README.md | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 9107b8a..f4de480 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,25 @@
-# uWebSockets-node
+
+
+
+*µWS ("[micro](https://en.wikipedia.org/wiki/Micro-)WS") **for Node.js** is simple and efficient*
[[1]](benchmarks) *messaging for the modern web.*
+
+• [Read more](https://github.com/uNetworking/v0.15)
+
+
+
This repository tracks the development of Node.js bindings for µWebSockets v0.15.
```javascript
+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');
+});
```