core.medplumclient.uploadwithprogress
Home > @medplum/core > MedplumClient > uploadwithProgress
MedplumClient.uploadwithProgress() method
Signature:
uploadwithProgress(url: URL, data: BinarySource, contentType: string, onProgress: (e: ProgressEvent) => void): Promise<any>;
Parameters
Parameter | Type | Description |
---|---|---|
url | URL | |
data | BinarySource | |
contentType | string | |
onProgress | (e: ProgressEvent) => void |
Returns:
Promise<any>