A lightweight JSON RPC client & server
Home > async-call-rpc > IsomorphicEncoder > decode
Decode the request or response object.
Signature:
decode(encoded: EncodedRequest | EncodedResponse): Requests | Responses | PromiseLike<Requests | Responses>;
Parameter | Type | Description |
---|---|---|
encoded | EncodedRequest | EncodedResponse | The encoded request or response object |
Returns: