libp2p
    Preparing search index...

    Interface DecodeRPCLimits

    Limits applied when decoding incoming RPC messages. A single RPC frame is already byte-capped by the underlying byte stream (maxBufferSize, which defaults to 4 MiB), but that bounds bytes, not element counts - protobuf packs many small repeated entries into a few bytes. These caps bound the number of decoded elements so a single frame cannot expand into millions of objects.

    interface DecodeRPCLimits {
        maxMessages: number;
        maxSubscriptions: number;
    }
    Index
    maxMessages: number
    maxSubscriptions: number