MentDB, The digital brain.  Download About me Home
Back / All functions / WS Session

You have control functions of web socket session.

@chat@cmdid@count sessions@sessions@sid

@chat

Description

    To change the mode to CHAT.

admin
@chat
mentdb
CHAT mode activated.

@cmdid

Description

    To show the number of web socket command executed by the current user

admin
@cmdid
mentdb
5

@count sessions

Description

    To count all open web socket sessions

admin
@count sessions
mentdb
1

@sessions

Description

    To show open web socket sessions

admin
@sessions
mentdb
[
{
"maxUsable": 600,
"nbExecution": 5,
"id": 2,
"used": 0,
"user": "admin",
"life": "0/600s"
}
]

@sid

Description

    To show current web socket session id

admin
@sid
mentdb
3




© 2012-2017 - Jimmitry Payet.