Search
Preparing search index...
The search index is not available
tvmjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
RPCServer
Class RPCServer
A websocket based RPC
Hierarchy
RPCServer
Index
Constructors
constructor
Properties
get
Imports
key
logger
socket
state
url
Constructors
constructor
new RPCServer
(
url
:
string
, key
:
string
, getImports
:
(
)
=>
Record
<
string
,
unknown
>
, logger
?:
(
msg
:
string
)
=>
void
)
:
RPCServer
Parameters
url:
string
key:
string
getImports:
(
)
=>
Record
<
string
,
unknown
>
(
)
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
Default value
logger:
(
msg
:
string
)
=>
void
= console.log
(
msg
:
string
)
:
void
Parameters
msg:
string
Returns
void
Returns
RPCServer
Properties
get
Imports
get
Imports
:
(
)
=>
Record
<
string
,
unknown
>
Type declaration
(
)
:
Record
<
string
,
unknown
>
Returns
Record
<
string
,
unknown
>
key
key
:
string
logger
logger
:
(
msg
:
string
)
=>
void
Type declaration
(
msg
:
string
)
:
void
Parameters
msg:
string
Returns
void
socket
socket
:
WebSocket
state
state
:
RPCServerState
= RPCServerState.InitHeader
url
url
:
string
Globals
RPCServer
constructor
get
Imports
key
logger
socket
state
url
Generated using
TypeDoc
A websocket based RPC