async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > IsomorphicEncoderFull

IsomorphicEncoderFull interface

Encoder that work for both server and client.

Signature:

export interface IsomorphicEncoderFull<EncodedRequest = unknown, EncodedResponse = unknown> extends ClientEncoding<EncodedRequest, EncodedResponse>, ServerEncoding<EncodedRequest, EncodedResponse>, Partial<Pick<IsomorphicEncoder, 'decode'>> 

Extends: ClientEncoding<EncodedRequest, EncodedResponse>, ServerEncoding<EncodedRequest, EncodedResponse>, Partial<Pick<IsomorphicEncoder, ‘decode’>>