Type Alias: JSONRPCRequestInfo
说明
本页由源码中的注释生成,内容为英文。
JSONRPCRequestInfo =
object
The JSON-RPC request behind a service action's request, as jsonRPCRequestOfContext returns it.
Properties
id
id:
string|number|null|undefined
The request's id; undefined for a notification (no response is sent).
method
method:
string
The request's method.
transport
transport:
"http"|"websocket"|"stdio"|"webrtc"
The transport the request came through: 'http', 'websocket' or 'stdio' with jsonRPCServiceEntrypoint, 'webrtc' with the data channels of webrtcServiceEntrypoint (package @lakutata/webrtc).