A lightweight JSON RPC client & server
Home > async-call-rpc > IsomorphicEncoder
Encoder that work for both server and client.
Signature:
export interface IsomorphicEncoder<EncodedRequest = unknown, EncodedResponse = unknown>
Method | Description |
---|---|
decode(encoded) | Decode the request or response object. |
encode(data) | Encode the request or response object. |