Update README.md

This commit is contained in:
Alex Hultman
2018-08-14 19:27:39 +02:00
committed by GitHub
parent eb7a73651f
commit 778138aac4
+10
View File
@@ -4,6 +4,16 @@
µWS v0.15 is about 20% faster than v0.14 for small sends, 260% faster for large sends (50 MB).
#### Pub/sub
One of the most popular usages of WebSockets is to deliver a message sent under a topic to all subscribers of said topic. This functionality is easy to implement and even easier to completely mess up, resulting in a very inefficient solution.
With v0.15 we now have built-in protocol independent pub/sub support delivering top notch broadcast performance.
```c++
ws->sub("some/topic/*");
ws->pub("another/topic/here", message);
```
#### Build optimized WebSocket & HTTP servers & clients in no time.
```c++
uWS::App a; // or uWS::SSLApp(options) for SSL