kernl API
    Preparing search index...

    Interface DefaultBridgesOptions

    Options for createDefaultBridges.

    interface DefaultBridgesOptions {
        authorize?: BridgeAuthorizer;
        handoff?: HandoffOpener;
        http?: HttpBridgeOptions;
        onResolve?: (event: BridgeResolveEvent) => void;
        torrent?: TorrentBackend;
    }

    Hierarchy

    • BridgeRegistryOptions
      • DefaultBridgesOptions
    Index
    authorize?: BridgeAuthorizer

    Consent check run before every resolution. Absent means every request is allowed.

    handoff?: HandoffOpener

    Opens a URI with an app on the user's device. When given, downloads, sharing and mail resolve by handing the locator off through it; without it they report unavailable.

    http?: HttpBridgeOptions

    Passed to the web bridge: policy overrides, fetch and host resolver.

    onResolve?: (event: BridgeResolveEvent) => void

    Observer for every outcome, successful or not.

    torrent?: TorrentBackend

    The engine for magnet links, such as createWebTorrentBackend. It wins over the hand-off for downloads from peers; the other bridges still hand off (D-017).