libp2p
    Preparing search index...

    Interface CircuitRelayServerInit

    interface CircuitRelayServerInit {
        hopTimeout?: number;
        maxInboundHopStreams?: number;
        maxOutboundHopStreams?: number;
        maxOutboundStopStreams?: number;
        reservations?: ServerReservationStoreInit;
    }
    Index

    Properties

    hopTimeout?: number

    Incoming hop requests must complete within this time in ms otherwise the stream will be reset

    30000
    
    maxInboundHopStreams?: number

    The maximum number of simultaneous HOP inbound streams that can be open at once

    maxOutboundHopStreams?: number

    The maximum number of simultaneous HOP outbound streams that can be open at once

    maxOutboundStopStreams?: number

    The maximum number of simultaneous STOP outbound streams that can be open at once.

    300
    

    Configuration of reservations