kkrpc
Preparing search index...
@kunkun/kkrpc
Message
Interface Message<T>
This file contains the serialization and deserialization helpers for the RPC protocol.
interface
Message
<
T
=
any
>
{
args
:
T
;
callbackIds
?:
string
[]
;
id
:
string
;
method
:
string
;
path
?:
string
[]
;
transferSlots
?:
TransferSlot
[]
;
type
:
"request"
|
"response"
|
"callback"
|
"get"
|
"set"
|
"construct"
;
value
?:
any
;
version
?:
"json"
|
"superjson"
;
}
Type Parameters
T
=
any
Index
Properties
args
callback
Ids?
id
method
path?
transfer
Slots?
type
value?
version?
Properties
args
args
:
T
Optional
callback
Ids
callbackIds
?:
string
[]
id
id
:
string
method
method
:
string
Optional
path
path
?:
string
[]
Optional
transfer
Slots
transferSlots
?:
TransferSlot
[]
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
transfer
Slots
type
value
version
kkrpc
Loading...
This file contains the serialization and deserialization helpers for the RPC protocol.