libp2p
    Preparing search index...

    Interface IdentifyPushInit

    interface IdentifyPushInit {
        agentVersion?: string;
        concurrency?: number;
        maxInboundStreams?: number;
        maxMessageSize?: number;
        maxObservedAddresses?: number;
        maxOutboundStreams?: number;
        protocolPrefix?: string;
        runOnLimitedConnection?: boolean;
        runOnSelfUpdate?: boolean;
        timeout?: number;
    }

    Hierarchy

    Index

    Properties

    agentVersion?: string

    What details we should send as part of an identify message

    Use nodeInfo.userAgent in the main libp2p config instead

    concurrency?: number

    Push to this many connections in parallel

    32
    
    maxInboundStreams?: number

    The maximum number of inbound streams that may be open on a single connection for this protocol

    1
    
    maxMessageSize?: number

    Identify responses larger than this in bytes will be rejected

    8192
    
    maxObservedAddresses?: number

    The maximum number of observed addresses to send in an Identify message

    maxOutboundStreams?: number

    The maximum number of outbound streams that may be open on a single connection for this protocol

    1
    
    protocolPrefix?: string

    The prefix to use for the protocol

    'ipfs'
    
    runOnLimitedConnection?: boolean

    Whether to run on connections with data or duration limits

    true
    
    runOnSelfUpdate?: boolean

    Whether to automatically dial identify-push on self updates

    true
    
    timeout?: number

    How long we should wait for a remote peer to send their identify response

    5000