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

    Function getResourceInfo

    • Retrieve the information about a resource (e.g. access permissions) without fetching the resource itself.

      Parameters

      • url: string

        URL to fetch Resource metadata from.

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

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

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

      Returns Promise<WithServerResourceInfo>

      Promise resolving to the metadata describing the given Resource, or rejecting if fetching it failed.

      0.4.0