Preparing search index...
The search index is not available
DIVA SDK - v1.2.0
DIVA SDK - v1.2.0
jsonrpc-lite
NotificationObject
Class NotificationObject<T>
JsonRpc Class
Returns
JsonRpc object
Api
public
Type Parameters
T =
RpcParams
Hierarchy
JsonRpc
NotificationObject
Index
Constructors
constructor
Properties
method
params
Accessors
jsonrpc
VERSION
Methods
serialize
toJSON
Constructors
constructor
new
Notification
Object
<
T
>
(
method
:
string
, params
?:
T
)
:
NotificationObject
<
T
>
Type Parameters
T =
RpcParams
Parameters
method:
string
Optional
params:
T
Returns
NotificationObject
<
T
>
Properties
method
method
:
string
Optional
params
params
?:
T
Accessors
jsonrpc
get
jsonrpc
(
)
:
"2.0"
Returns
"2.0"
Static
VERSION
get
VERSION
(
)
:
"2.0"
Returns
"2.0"
Methods
serialize
serialize
(
)
:
string
Returns
string
toJSON
toJSON
(
)
:
NotificationObject
<
T
>
&
{
jsonrpc
:
"2.0"
}
Returns
NotificationObject
<
T
>
&
{
jsonrpc
:
"2.0"
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
DIVA SDK -
v1.2.0
diva-
sdk
diva-
sdk-
core
diva-
sdk-
loader
diva-
sdk-
math
jsonrpc-
lite
Notification
Object
constructor
method
params
jsonrpc
VERSION
serialize
toJSON
JsonRpc Class
Returns
JsonRpc object
Api
public