Nativescript plugin for https requests
    Preparing search index...

    Function getFile

    • Downloads the content from the specified URL and attempts to save it as file.

      Parameters

      • arg: string | HttpsRequestOptions

        either The URL to request from or HttpsRequestOptions options.

      • OptionaldestinationFilePath: string

        Optional. The downloaded file path.

      Returns Promise<any>