it
    Preparing search index...

    Interface RPCInit

    interface RPCInit {
        lpDecoder?: DecoderOptions;
        lpEncoder?: EncoderOptions;
        valueCodecs?: ValueCodec<any>[];
    }
    Index

    Properties

    lpDecoder?: DecoderOptions

    Options passed to the length-prefixed decoder, allows limiting max message size, etc.

    lpEncoder?: EncoderOptions

    Options passed to the length-prefixed encoder, allows limiting max message size, etc.

    valueCodecs?: ValueCodec<any>[]

    Out of the box serializing/deserializing common JavaScript types is supported - if your application uses custom data types you can add support for them by specifying value codecs.