api_utils
Methods
(static) nowLocal() → {string}
- Description:
- Returns the now local time as 'yyyy-mm-dd hh:mm:ss'
- Source:
Returns:
-
Type
-
string
(static) nowLocalFileName() → {string|undefined}
- Description:
- Returns the now local time as 'yyyymmddhhmmss'
- Source:
Returns:
-
Type
-
string
|
undefined
(static) nowUTC() → {string}
- Description:
- Returns the now UTC time as 'yyyy-mm-dd hh:mm:ss'
- Source:
Returns:
-
Type
-
string
(static) nowUTCFileName() → {string|undefined}
- Description:
- Returns the now UTC time as 'yyyymmddhhmmss'
- Source:
Returns:
-
Type
-
string
|
undefined
(static) socketSend(socket, command)
- Description:
- Execute socket's send command
- Source:
Parameters:
Name |
Type |
Description |
socket |
WebSocket
|
|
command |
Object
|
|