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