Preparing search index...
The search index is not available
DIVA SDK - v1.2.0
DIVA SDK - v1.2.0
jsonrpc-lite
RequestObject
Class RequestObject<T>
JsonRpc Class
Returns
JsonRpc object
Api
public
Type Parameters
T =
RpcParams
Hierarchy
JsonRpc
RequestObject
Index
Constructors
constructor
Properties
id
method
params
Accessors
jsonrpc
VERSION
Methods
serialize
toJSON
Constructors
constructor
new
Request
Object
<
T
>
(
id
:
ID
, method
:
string
, params
?:
T
)
:
RequestObject
<
T
>
Type Parameters
T =
RpcParams
Parameters
id:
ID
method:
string
Optional
params:
T
Returns
RequestObject
<
T
>
Properties
id
id
:
ID
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
(
)
:
RequestObject
<
T
>
&
{
jsonrpc
:
"2.0"
}
Returns
RequestObject
<
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
Request
Object
constructor
id
method
params
jsonrpc
VERSION
serialize
toJSON
JsonRpc Class
Returns
JsonRpc object
Api
public