@inrupt/solid-client
    Preparing search index...

    Function getFileWithAcr

    • function is still experimental and subject to change, even in a non-major release.
      

      Fetch a file and its associated Access Control Resource (if available to the current user).

      Parameters

      • url: string | Url

        URL of the file to fetch.

      • Optionaloptions: { fetch: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response> }

        Optional parameter options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API.

        • fetch: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response>

      Returns Promise<Blob & WithAcp>

      A file and the ACR that applies to it, if available to the authenticated user.

      1.6.0