This is the shape of generic responses
Successful response (RpcResp_ok)
// layer 3: RPC{jsonrpc : "2.0", id : "ske-connect-1", method : "connection.open", // layer 4: AWCP-specific semantics result : {id : "mnhmmkepfddpifjkamaligfeemcbhdne", name : "Superhero", networkId : "ae_mainnet", origin : "chrome-extension://mnhmmkepfddpifjkamaligfeemcbhdne", type : "extension"}}
Unsuccessful response (RpcResp_error)
// layer 3: RPC{jsonrpc : "2.0", id : "ske-address-1", method : "address.subscribe", // layer 4: AWCP semantics error : {code : 4, data : {}, message : "Operation rejected by user"}}
Generated using TypeDoc
This is the shape of generic responses
Example
Successful response (RpcResp_ok)
Example
Unsuccessful response (RpcResp_error)