Add docs about auth approach #94
This commit is contained in:
parent
011a06fe8e
commit
eb53b555f1
@ -20,6 +20,7 @@ wss.on('connection', setupWSConnection)
|
||||
|
||||
server.on('upgrade', (request, socket, head) => {
|
||||
// You may check auth of request here..
|
||||
// See https://github.com/websockets/ws#client-authentication
|
||||
/**
|
||||
* @param {any} ws
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user