kkrpc
Preparing search index...
@kunkun/kkrpc
Message
Interface Message<T>
This file contains the serialization and deserialization functions for the RPC protocol.
interface
Message
<
T
=
any
>
{
args
:
T
;
callbackIds
?:
string
[]
;
id
:
string
;
method
:
string
;
path
?:
string
[]
;
type
:
"request"
|
"response"
|
"callback"
|
"get"
|
"set"
|
"construct"
;
value
?:
any
;
version
?:
"json"
|
"superjson"
;
}
Type Parameters
T
=
any
Index
Properties
args
callback
Ids?
id
method
path?
type
value?
version?
Properties
args
args
:
T
Optional
callback
Ids
callbackIds
?:
string
[]
id
id
:
string
method
method
:
string
Optional
path
path
?:
string
[]
type
type
:
"request"
|
"response"
|
"callback"
|
"get"
|
"set"
|
"construct"
Optional
value
value
?:
any
Optional
version
version
?:
"json"
|
"superjson"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
args
callback
Ids
id
method
path
type
value
version
kkrpc
Loading...
This file contains the serialization and deserialization functions for the RPC protocol.