format README

This commit is contained in:
Philipp Kunz 2018-03-17 17:52:31 +01:00
parent 7200464e4b
commit c92dae809f

View File

@ -40,8 +40,8 @@ let mySmartsocket = new smartsocket.Smartsocket({
// optional:
// run this with anothoer existing server like express
declare var someExpressServer // read the express docs about how express actually works
mySmartsocket.setServer(someExpressServer)
declare var someExpressServer; // read the express docs about how express actually works
mySmartsocket.setServer(someExpressServer);
// A "SocketRole" can be referenced by "SocketFunction"s.
// All "SocketRequest"s carry authentication data for a specific "SocketRole".