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: // optional:
// run this with anothoer existing server like express // run this with anothoer existing server like express
declare var someExpressServer // read the express docs about how express actually works declare var someExpressServer; // read the express docs about how express actually works
mySmartsocket.setServer(someExpressServer) mySmartsocket.setServer(someExpressServer);
// A "SocketRole" can be referenced by "SocketFunction"s. // A "SocketRole" can be referenced by "SocketFunction"s.
// All "SocketRequest"s carry authentication data for a specific "SocketRole". // All "SocketRequest"s carry authentication data for a specific "SocketRole".