A lightweight JSON RPC client & server
Home > async-call-rpc > ClientEncoding
Encoder of the client.
Signature:
export interface ClientEncoding<EncodedRequest = unknown, EncodedResponse = unknown>
| Method | Description |
|---|---|
| decodeResponse(encoded) | Decode the response object. |
| encodeRequest(data) | Encode the request object. |