libp2p
    Preparing search index...

    Interface ContentRouting

    interface ContentRouting {
        cancelReprovide(key: CID, options?: RoutingOptions): Promise<void>;
        findProviders(cid: CID, options?: RoutingOptions): AsyncIterable<PeerInfo>;
        get(
            key: Uint8Array,
            options?: RoutingOptions,
        ): Promise<Uint8Array<ArrayBufferLike>>;
        provide(cid: CID, options?: RoutingOptions): Promise<void>;
        put(
            key: Uint8Array,
            value: Uint8Array,
            options?: RoutingOptions,
        ): Promise<void>;
    }
    Index

    Methods