async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > ClientEncoding > decodeResponse

ClientEncoding.decodeResponse() method

Decode the response object.

Signature:

decodeResponse(encoded: EncodedResponse): Responses | PromiseLike<Responses>;

Parameters

Parameter Type Description
encoded EncodedResponse The encoded response object

Returns:

Responses | PromiseLike<Responses>