async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > ServerEncoding > encodeResponse

ServerEncoding.encodeResponse() method

Decode the request object.

Signature:

encodeResponse(data: Responses): EncodedResponse | PromiseLike<EncodedResponse>;

Parameters

Parameter Type Description
data Responses  

Returns:

EncodedResponse | PromiseLike<EncodedResponse>