libp2p
    Preparing search index...
    interface StreamHandlerOptions {
        force?: true;
        maxInboundStreams?: number;
        maxOutboundStreams?: number;
        runOnLimitedConnection?: boolean;
    }
    Index

    Properties

    force?: true

    If true, and a handler is already registered for the specified protocol(s), the existing handler will be discarded.

    maxInboundStreams?: number

    How many incoming streams can be open for this protocol at the same time on each connection

    32
    
    maxOutboundStreams?: number

    How many outgoing streams can be open for this protocol at the same time on each connection

    64
    
    runOnLimitedConnection?: boolean

    Opt-in to running over connections with limits on how much data can be transferred or how long it can be open for.