Interface StreamHandlerOptions

interface StreamHandlerOptions {
    maxInboundStreams?: number;
    maxOutboundStreams?: number;
    runOnLimitedConnection?: boolean;
}

Properties

maxInboundStreams?: number

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

Default

32
maxOutboundStreams?: number

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

Default

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.