Skip to main content

core.medplumclient.uploadwithprogress

Home > @medplum/core > MedplumClient > uploadwithProgress

MedplumClient.uploadwithProgress() method

Signature:

uploadwithProgress(url: URL, data: BinarySource, contentType: string, onProgress: (e: ProgressEvent) => void, options?: MedplumRequestOptions): Promise<any>;

Parameters

ParameterTypeDescription
urlURL
dataBinarySource
contentTypestring
onProgress(e: ProgressEvent) => void
optionsMedplumRequestOptions(Optional)

Returns:

Promise<any>