async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > ServerEncoding > decodeRequest

ServerEncoding.decodeRequest() method

Encode the response object.

Signature:

decodeRequest(encoded: EncodedRequest): Requests | PromiseLike<Requests>;

Parameters

Parameter Type Description
encoded EncodedRequest  

Returns:

Requests | PromiseLike<Requests>