format README
This commit is contained in:
parent
7200464e4b
commit
c92dae809f
@ -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".
|
||||||
|
Loading…
Reference in New Issue
Block a user