update to newest version
This commit is contained in:
@@ -31,10 +31,18 @@ export class Smartsocket {
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* starts the server with another server
|
||||
*/
|
||||
async startWithSpecificServer() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* closes the server
|
||||
*/
|
||||
async closeServer () {
|
||||
await plugins.smartdelay.delayFor(1000)
|
||||
this.openSockets.forEach((socketObjectArg: SocketConnection) => {
|
||||
plugins.beautylog.log(`disconnect socket with >>alias ${socketObjectArg.alias}`)
|
||||
socketObjectArg.socket.disconnect()
|
||||
|
||||
Reference in New Issue
Block a user