Search
Preparing search index...
The search index is not available
ractyl
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
ractyl
client/server/Console
WebsocketHandler
Class WebsocketHandler
Hierarchy
WebsocketHandler
Index
Constructors
constructor
Properties
socket
Methods
connect
get
Websocket
Token
request
Logs
request
Stats
send
Command
send
Power
update
Token
Constructors
constructor
new
Websocket
Handler
(
request
:
IRequest
, _identifier
:
string
)
:
WebsocketHandler
Parameters
request:
IRequest
_identifier:
string
Returns
WebsocketHandler
Properties
socket
socket
:
WebSocket
= ...
Methods
connect
connect
(
)
:
WebSocket
Returns
WebSocket
Private
get
Websocket
Token
get
Websocket
Token
(
)
:
Promise
<
{
socket
:
string
;
token
:
string
}
>
Returns
Promise
<
{
socket
:
string
;
token
:
string
}
>
request
Logs
request
Logs
(
)
:
WebSocket
Returns
WebSocket
request
Stats
request
Stats
(
)
:
WebSocket
Returns
WebSocket
send
Command
send
Command
(
command
:
string
)
:
WebSocket
Parameters
command:
string
Returns
WebSocket
send
Power
send
Power
(
power
:
Powers
)
:
WebSocket
Parameters
power:
Powers
Returns
WebSocket
Private
update
Token
update
Token
(
)
:
void
Returns
void
Modules
client/server/
Console
Websocket
Handler
constructor
socket
connect
get
Websocket
Token
request
Logs
request
Stats
send
Command
send
Power
update
Token
default
Generated using
TypeDoc