async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > ClientEncoding

ClientEncoding interface

Encoder of the client.

Signature:

export interface ClientEncoding<EncodedRequest = unknown, EncodedResponse = unknown> 

Methods

Method Description
decodeResponse(encoded) Decode the response object.
encodeRequest(data) Encode the request object.