kernl API
    Preparing search index...

    Function describeDownloadQuestion

    • A download service's question as the host's consent prompt takes it. Starting something that shows peers the address of the machine doing the transfer is direct; erasing files is destructive; an archive download, which only the person's own servers see, is routine.

      Parameters

      • question: DownloadQuestion

        What the service asks.

      • applet: AppletIdentity

        The applet it asks for.

      • exposesAddress: boolean

        Whether peers learn a network address from what is being started.

      Returns ConsentSummary

      The summary the host renders.

      describeDownloadQuestion({ kind: 'delete', title: 'Delete the files', lines: [] }, identity, true).severity; // 'destructive'