@helia/verified-fetch
    Preparing search index...

    Interface ResolveURLOptions

    interface ResolveURLOptions {
        providers?: (PeerId | Multiaddr | Multiaddr[])[];
        redirect?: RequestRedirect;
        redirected?: boolean;
        session?: boolean;
        signal?: AbortSignal;
    }

    Hierarchy

    Index

    Properties

    providers?: (PeerId | Multiaddr | Multiaddr[])[]

    An optional list of peers known to host at least the root block of the DAG that will be fetched.

    If this list is omitted, or if the peers cannot supply the root or any child blocks, a findProviders routing query will be run to find peers that can supply the blocks.

    redirect?: RequestRedirect

    Allows control of how redirects are processed

    redirected?: boolean

    If true, this resolve action is occurring while processing a redirect from a _redirects file - if it fails, do not attempt to fall back to the _redirects file again

    session?: boolean

    If true, only peers that are found to have the root block of a DAG will be queried for subsequent blocks. If no peers in the session have a subsequent block the routing will be queried for more peers to add to the session.

    true
    
    signal?: AbortSignal