@medic/cht-datasource
    Preparing search index...

    Function getRemoteDataContext

    • Returns the data context based on a remote CHT API server. This function should not be used when offline functionality is required.

      Parameters

      • url: string = ''

        the URL of the remote CHT API server. If not provided, requests will be made relative to the current location.

      Returns DataContext

      the data context