Skip to content

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"

The transport the request came through.

Released under the MIT License.