Helia Routing V1 HTTP API
    Preparing search index...
    interface DelegatedRoutingV1HttpApiClient {
        url: URL;
        getClosestPeers(
            cid: CID,
            options?: GetClosestPeersOptions,
        ): AsyncGenerator<PeerRecord>;
        getIPNS(cid: CID, options?: AbortOptions): Promise<Uint8Array<ArrayBuffer>>;
        getPeers(cid: CID, options?: GetPeersOptions): AsyncGenerator<PeerRecord>;
        getProviders(
            cid: CID,
            options?: GetProvidersOptions,
        ): AsyncGenerator<PeerRecord>;
        putIPNS(
            cid: CID,
            record: Uint8Array,
            options?: AbortOptions,
        ): Promise<void>;
        start(): Promise<void>;
        stop(): Promise<void>;
    }
    Index

    Properties

    url: URL

    The URL that requests are sent to

    Methods

    • Create the request/response cache used to ensure duplicate requests aren't made for the same data

      Returns Promise<void>

    • Shut down any currently running HTTP requests and clear up any resources that are in use

      Returns Promise<void>