A lightweight JSON RPC client & server
Home > async-call-rpc > ServerEncoding > encodeResponse
Decode the request object.
Signature:
encodeResponse(data: Responses): EncodedResponse | PromiseLike<EncodedResponse>;
Parameter | Type | Description |
---|---|---|
data | Responses |
Returns:
EncodedResponse | PromiseLike<EncodedResponse>