Interface StreamHandlerOptions

interface StreamHandlerOptions {
    maxInboundStreams?: number;
    maxOutboundStreams?: number;
    runOnTransientConnection?: 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)

runOnTransientConnection?: boolean

Opt-in to running over a transient connection - one that has time/data limits placed on it.