Type alias RpcCall<method_s, params_t>

RpcCall<method_s, params_t>: { jsonrpc: "2.0"; id: number | string; method: method_s; params: params_t }

This type is used for requests from the client to the server that require a response.

(layer 3)

Example

// layer 3: json rpc
{jsonrpc : "2.0",
id : "ske-connect-1",
method : "connection.open",
// layer 4: AWCP-specific semantics
params : {name : "sidekick examples",
version : 1}}}

Type Parameters

Type declaration

  • jsonrpc: "2.0"
  • id: number | string
  • method: method_s
  • params: params_t

Generated using TypeDoc