Helia Routing V1 HTTP API
    Preparing search index...
    interface DelegatedRoutingV1HttpApiClientInit {
        cacheName?: string;
        cacheTTL?: number;
        concurrentRequests?: number;
        filterAddrs?: string[];
        filterProtocols?: string[];
        timeout?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    cacheName?: string

    Where a Cache is available in the global scope, we will store request/responses to avoid making duplicate requests.

    'delegated-routing-v1-cache'
    
    cacheTTL?: number

    How long to cache responses for in ms (default: 5 minutes) If 0, caching is disabled

    concurrentRequests?: number

    A concurrency limit to avoid request flood in web browser (default: 4)

    filterAddrs?: string[]

    Array of address filters to filter PeerRecords's addresses as defined in IPIP-484 If undefined, PeerRecords are not filtered by address

    undefined
    
    filterProtocols?: string[]

    List of protocols to filter in the PeerRecords as defined in IPIP-484 If undefined, PeerRecords are not filtered by protocol

    undefined
    
    timeout?: number

    How long a request is allowed to take in ms (default: 30 seconds)