Interface IUpdownload

interface IUpdownload {
    download: (
        url: string,
        filePath: string,
        progressHandler?: ProgressHandler,
        headers?: Map<string, string>,
        body?: string,
    ) => Promise<void>;
    upload: (
        url: string,
        filePath: string,
        progressHandler?: ProgressHandler,
        headers?: Map<string, string>,
    ) => Promise<string>;
}

Properties

Properties

download: (
    url: string,
    filePath: string,
    progressHandler?: ProgressHandler,
    headers?: Map<string, string>,
    body?: string,
) => Promise<void>
upload: (
    url: string,
    filePath: string,
    progressHandler?: ProgressHandler,
    headers?: Map<string, string>,
) => Promise<string>